Add Android accelerometer value clamping. Closes #350.
For Travis CI - switch CI build to use OS X build environment.