Add jshintrc file and extract connecting to couchdb into own file
Fix jshint errors
Add queue for couchdb writes to workaround race condition of two concurrent writes causing conflict
Reformatting test file
Refactor existing session diffing, so no modifications are needed for existing objects