Refactored how the Mocking system worked slightly.

 In theory now, the single Mock client will work for any resource. The hope is that now you can just use the Mock client everywhere, which will allow an application developer to use dependency injection to inject the Mock client into the frontend application instead of the live service. This should allow better unit testing for downstream applications.