In Application class, use SDL_iPhoneSetAnimationCallback on iOS instead of running a blocking main loop. Closes #381.