Update Travis CI configuration

Android has become a first-class citizen in Travis.
Several lines and scripts have been modified into travis-specific
commands. Gradle is also the first choice for android build system in
Travis. More over, build.gradle is present. This makes downloading
and unzipping Gradle unnecessary.