Add JS testing/linting to Travis

- Add mocha
- Add jshint
- Move travis scripts to separate files
Merge pull request #254 from sharetribe/js-testing-squashed

Add JS testing/linting to Travis