Handle beds and doors the same way as other blocks. Fixes BUKKIT-3437 Relates to: BUKKIT-3438
Get the BlockState before changing the block. Fixes BUKKIT-3441