API tests for Catalogue and controller actions

API addition for showing users what they have entered wrong for relationships i.e. hasMany domain fields
Merge branch 'dev' of https://github.com/k-int/Optician2020-minifactories into dev