In Application class, use SDL_iPhoneSetAnimationCallback on iOS instead of running a blocking main loop. Closes #381.
For Travis CI - switch CI build to use OS X build environment.