Updated Travis-CI config to test across multiple JDKs and to install Thrift and run server before tests.