moved all ease* funtions to Sprite class
- reduced duplicate code
- fixed "sequence point" compiler warnings
fixed more compiler warnings (signed/unsigned comparisons)