Gem::Specification gem_dir workaround

Gem::Specification under gem 2.4 won't find hydra-access-controls
using .find_by_name.
Relationship migration

Relationships are migrated after all the objects have been migrated
first.