Add unit tests to travis configuration

This adds a top level Makefile with test, checkdoc and build targets