Express error handling

- Express routes now will pass to an error route
- Express error route added (with TODO when we want to serve error
status codes)
- DB query function returns errors to callback to pass to express error
route
JSDoc updates

- Ignore compiled jsdoc
- Added JSDoc comments to server.js and CognicityServer.js
- Updated jsdoc script to work on Windows
Added test for server.js launch

- npm test now runs mocha
- Added test-config for mocha launch test
- Added test which launches server.js expecting error because DB
configuration is invalid (much of the code in server.js is executed and
so we test for some types of error by doing this)
Refactor dbQuery arguments

- remove argument which is always the same and make it refer to the
config in the dbQuery method