Add bed placement

This makes bed placement possible. Beds get placed with the foot block on the clicked block, and the head block one block away from the foot block in the opposite direction from the player, just like in vanilla Minecraft. Placement with the head block in the air or inside another block is not possible.
Or add a method to `Location`: `getRotation` and document it returns degrees.