verify: move checkentry() to be a class function
This is part of making verify more modular so extensions can hook into it.
from mercurial import utildef makedate(): return 0, 0def getuser(): return 'bob'# mock the date and user apis so the output is always the samedef uisetup(ui): util.makedate = makedate util.getuser = getuser