Remove duplicate analytics helper.

I added `MockLeek` in #1627, and only just realized that we already have
a `MockAnalytics` object (that is much better).
Merge pull request #1629 from rwjblue/remove-duplicate-helper

Remove duplicate analytics helper.