Added template Travis Java build file

To begin compatibility with Travis CI.