Create requirements files for pip
Move and fix unit tests

Put the unit tests inside the package directory. Fix a failure in the
unit tests.
Added travis-ci.org configuration file
add base class for unit tests and fix them