Added support for sprite center alignment
Merge pull request #7 from Artur-/master

Fix for SMARTSPRITES-36