Make through a dev dependency

It's only used in tests
Configure the test script in package.json

It now runs the tests using mocha. This is a preparation step for CI
integration
Add Travis CI configration files

Hoping this will work