Refactor rsync

Update rsync to working code
Add methods to use web sockets to communicate with client to perform a sync
Your code in `removeNodes` already deals with 2 vs 3 arg callers.  Don't bother with this, just do: `removeNodes(path, diff, callback);` and it will do the the right thing.