branchmap: add the tiprev (cache key) on the branchmap object
The actual cache key used on disk is the (tipnode, tiprev) pair. There is no
reason not to use the revision number for the in memory version.
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null