Add Travis-CI support

This pulls in the test data from its github repository, and checks that
"make check" is succcessful.  Currently, this doesn't check the Java
support, but is a good start.
Rework modules generation.