Automatic translation import

Change-Id: I51b3ccc5991bc17742b560514d8ef0af510c88dc
Automatic translation import

Change-Id: I0bb83d2d5980af8b5ec722a56af65f3732286028
Automatic translation import

Change-Id: Ia05fe11bb6d11b9970f8ad72cbb86cc4cc546442
Automatic translation import

Change-Id: I19220da41bc3100bf4ea63998efcdf0dd0253719
Add Apache license file headers
Add .classpath

Since we already have .project, this is the other Eclipse specific file
that should be committed to source control.
Update target sdk version to 20
Fix Checkstyle warnings
Remove duplicate code

This removes some duplication by moving common code to Utils.
Fix whitespace and formatting
Add Gradle build files
Enable Travis CI build