Added support for running integration tests on Mac OS.
Fixed Travis build so that it now downloads and install Android SDK.