Add initializer that takes a merge policy as an argument and uses this for the internal managed object context.