Center Spriter animation to allow accurate flip. Also removed unused variable in sample 5.
For Travis CI - switch CI build to use OS X build environment.