Fix issues #65 - Fix deserialization method
Fix issues #67 - Fix wrong variable ref
Fix Issues #42 - Add Allow CORS to /api/sync
Fix #53, refactor lib/rsync.js