Add support for Travis-CI

Also refactored maven to use the root structure instead of parent
submodule. This enables running `mvn test` from the root directory.