cloudmine/cloudmine-ios — pull request #13 by marcweil (2012-06-11 00:11:12+00:00)
Title: CMObject should use default store and do the right thing when save is called

If the object doesn't belong to a store, it will be added to the default store when `save:` or `saveWithUser:` is called. Calling `save:` adds it at the app-level.

If the object already belongs to a store, calling `save:` will save it to app-level iff it already exists at the app-level in its store, or user-level if it already exists at the user-level in its store.

If the object belongs to the app-level of the store and `saveWithUser:` is called, an exception will be raised.

If the object belongs to the user-level of the store and `saveWithUser:` is called, it has the same effect as calling `save:`.