Replace jasmine with mocha and mocha-phantomjs
Update test syntax and stubs
Add 'test' script to package.json for 'npm test'
Add travis config and bump node dep
Speed up time-dependent tests with sinon fake timers
Remove vendored jasmine