added test for list endpoint, and removed defunct tree update endpoint  on digital object controller
removed obselete methods from resource model
tidied formating
removed obselete 'children' endpoint from resource controller
added test for creating a repository to the repository controller