add mocha tests for travis CI integration tests on code commit

squash all commits to single commit
Merge pull request #120 from whiteout-io/mocha

Add travis CI job and mocha tests in phantomjs