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.
Merge pull request #4 from matobet/travis-ci

Add support for Travis-CI
server: Fix all scala-related warnings

Introduced dependency on the shapeless library for type safe casts.