Add developer tools.
Keep the _relatedItems to restore later the order of references.
Restore the original order of references.
Remove ipdb, sorry.
fix references from AT objects that were not migrated
Merge branch 'migrations'