Add jsdom to fix failing tests

Add development dependencies needed to execute the tests. Add `npm test`
support using Cake.
Merge pull request #88 from stripe/travis

Add jsdom to fix failing tests