Fix running without numpy

Skip the only line which uses numpy in the module if numpy is not present
Add travis continuous integration tests

Add Makefile for building, testing, generating docs
Add tox configuration