Implements scaleMode and align
Merge pull request #290 from yurydelendik/scaleMode

Implements scaleMode and align
Merge pull request #288 from tobeytailor/master

Fixes slow construction of heavy sprites.