Update LICENSE
Add Apache license file headers
Update targetSdkVersion to 20
Add Gradle build files
Remove Ant/Eclipse related files
Fix Checkstyle warnings
Remove duplicate code

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