Travis, requirements file, and basic unit tests

This introduces continuous integration and unit tests in general.
More useful tests will come about as the library itself matures and
becomes more useful.