add pretag and tag hooks.
pretag hook lets hook decide how tags can be named. tag hook is
notifier.
removing bthis update spans a branch affecting the following files: baborting update spanning branches!(use update -m to merge across branches or -C to lose changes)