Fetch and cache all objects before importing in MR_importFromArray
Utilize MR_importFromArray to batch fetch/import/set toManyRelationships
Protect against importing values into managed objects that don't change
anything.
This protects against unnecessary SQLite update statements that may slow
things down during save/merge operations.
A couple of formatting fixes