Added IntelliJ ignore patterns.
Added Gradle build configuration.
Added Travis CI configuration.