Moved done to after resolving the promise to avoid hazards.
Merge branch 'master' of github.com:OptimalBits/ground
updated unit tests for collections
added a test to check that a model is cached offline
Fixed Local#find that was not correct for orphan collections