Added no sync option to resented event to avoid a new roundtrip to server.
Fixes in AJAX functionality
$$ now only returns first element when selecting by class name
Removed model states and cleaned up the code a bit
Improvements in code handling local sets updates after a resync
Moved Command interface to queue.ts
Improved cid handling in create
Implemented acknowledgement of add/remove commands.
improvements in collections unit tests
Added _cid property to mongo test models
Improved local storage to handle correctly add and removed items that have not yet been acknowledged by the server