Added support getValidRotations and rotateBlock

Overriding these 2 methods in the block class allows other mods to rotate carpenters blocks via vanilla methods. A prime example would be Archimedes' Ships, which uses these methods to rotate blocks when the ships rotate, which is the main motivator for me adding this.