(#16) Add jshintrc

Copy the .jshintrc over from PouchDB, make some minor changes
to fit Mocha, fix syntax.  Add jshint to the test.