moves scripting to AbstractMockService and makes the MockDispatcher in MockRunner generic