verify: move manifest verification to its own function
This makes verify more modular, making it easier for extensions to extend.
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