Fixed the test suite so that we run tests using python setup.py test and also added stuff needed by Travis to build.