WIP: Add server side web socket interface for server->client sync

Update rsync to working code
Add methods to use web sockets to communicate with client to perform a sync
You can't throw in ternary operator... You will have to this it this way. 

```
  this.type = validateParams(type, 'TYPE') ? type : (function(){ throw new Error('SyncMessage(type, name) requires a valid type'); }());
  this.name = validateParams(name, 'NAME') ? name : (function(){ throw new Error('SyncMessage(type, name) requires a valid name'); }());

```