More Transform tests and refactoring

Confirmed order of translation and rotation operations in Transform.
Corrected a couple bugs in Sprite.createPivotOnCenter().