Added method to setup and clear mock services on the DI.

I needed a way to inject mocks of services and processes, which I think
is best done in the DI class, as it can be done on a per-service basis,
which allows me to mock some things and not others, it also keeps it
away from being specific to a certain set of classes, for example the
processes.