Add centering methods for Sprite.java

Some times (or at least I prefer doing so) it is better to place a Sprite by specifying where its center should be, rather then its lower left corner.
Merge pull request #1810 from Alexander9211/patch-1

Add centering methods for Sprite.java