Create NSPersistentStoreCoordinator factory method that can accept a model as an argument.