Added check for nested relationships when importing other relationships.
Add unit test for nested relationship import
Merge branch 'joe-goullaud/nested-import' into development