Fix for issue #3.

ManagedObjectContexts are now stored in the threadDictionary to improve
the MOC lifecycle.