Details written at:
Dara has had more stuff at this commit: https://github.com/aerogear/data-sync-server/pull/24/commits/a0c96fa29d5bef1e3adbe430e16f09e3b1bcf97c