add pretag and tag hooks.
pretag hook lets hook decide how tags can be named. tag hook is
notifier.
adding aadding baNONEXISTENT: No such file or directoryaba: No such file or directoryNONEXISTENT: No such file or directorybaNONEXISTENT: No such file in rev 9e1684505872ab