Move version fetching to its own class

It doesn't really belong in Searcher which is far too long and
needs more trimming

Change-Id: I4b5f7ec681c8eda91898b074af2c2971084890a3