First implem for Sync api

Create synchronization API:
* New synchronization protocol uses "/papers/$paperid/sync"
* Mobrite-compatible protocol uses "/papers/$paperid/q"