When a block is broken, check if the tool being used will be damaged

When breaking a block, check to see if the tool in hand can be damaged. 

Associated bukkit-bleeding commit here: https://github.com/Bukkit/Bukkit/pull/688