Add branchtags function with cache
- cache stores tipmost node and rev and node,label pairs
- if cache is out of date, scan new changesets
- write new cache out after scan
Fixed page overlap for file revision links in hgweb.
This is another step to fix
issue189, but currently the file revision numbers
are read as changeset revision numbers, so the link will point to the wrong
revision.