Fixed #280 - Fixed server restart

Our Sync constructor needed EventEmitter properties to function correctly. This should fix that.
Fixed issue #263 - added unit test for file deletion unsynced attribute persistence
Merge pull request #282 from yoavgurevich/issue263

Fixed issue #263 - added unit test for file deletion unsynced attribute ...
Demp update