added basic /delta support, other fixes

In this pull request:

* Added basic /delta support. This is a fairly low-level interface to the /delta API; I haven't added a convenience delta tracking class (yet).
* Fixed handling of nested arrays in JSON parser (/delta touches this case).
* The 'client modified' time actually has key "client_mtime".

Please review for any regressions and/or other issues.