Setup travis and mocha

Preliminary testing support as suggested by @krismeister - I have added support for travis and testing with mocha.