Basic offline syncing
Clear the pending clears
Add some comments
Use actual id rather than full path, and utilise the resourceType property
Trigger update event before request to make UI update faster
Merge pull request #3 from Financial-Times/offline-sync

Offline sync