Add travis-ci configuration

Builds on OpenJDK 7, OracleJDK 7 and OracleJDK 8