Snapshots an NSManagedObjectContext and tracks its changes.