Automock refactor, intercepted mocks

Now takes advantage of mock repository for verification.
Also added test to show how to intercept mocks so they can participate in logging.
formatting and pull request