if no configuration is found for resource -> HttpError 404 is returned
changed resource collection _index response
added some more tests for RestAPI