Enable Travis CI support

This pull request adds travis CI support to the module and enables 'npm test'.