Fix behat context & fixtures after latest merges
Merge pull request #1809 from stloyd/bugfix/broken_behat

Fix behat context & fixtures after latest merges
Refactor code to properly work with domain managers not repositories while creating resources
Extract interface from DomainManager class.
Fix some service declarations.
Fix more code to match manager & repository split