Problem
A block does not necessarily prevent editing, but calling Block::prevents( 'edit' ) returns true.
Solution
Remove this code from Block::prevents()
case 'edit': # For now... <evil laugh> $res = true; break
and remove any cases where Block::prevents() is being called with edit and hard-code it to true (i.e. User::isBlocked())
