Fetch results fixes
Several fixes for ensuring fetch results are returned in the correct form:
- Trackable
fetch()results should now properly preservetotalLength, issue #97 7064a1c, 380e1eb - Properly return query results, with
totalLengthas a promise, from DstoreAdapter regardless of options provided fd3d734 - Ensuring that add/put return a promise for read-only master stores 9a4a777
Thanks to @kfranqueiro and @edhager for help with these issues.