Move MockTarget to its own library and package

In anticipation of using MockTarget in more tests.

Auditors: benjy