Convert most uses of Mock to create_autospec, remove some uses of mocking altogether.

Bugs closed: AURORA-889

Reviewed at https://reviews.apache.org/r/27628/