Adds support for properly rotating/flipping beds.

This commit allows for bed blocks to have their data values rotated during clipboard operations.