Enable app syncing

Fixes #16.

I've changed some of the structure of `GalleryClient` to enable reuse, so #22 would probably benefit from a Rebase.

<!---
@huboard:{"order":0.0017555058002471924,"milestone_order":23,"custom_state":""}
-->