Server jshint part 2 of 2

JSHint is happy after this change. `npm test` is ready for travis CI integration.

All pretty harmless changes, expect for a bug in `rpc.js`.

The line `!_.difference(_.keys(object), ['read']).length === 0` will always evaluate to `false` as `!something.length` will result in a boolean. Tested it and seemed like the intended behavior was to bail if difference was not empty.