Converts project to build using Gradle.
Adds travis configuration