hgweb: Search templates in templatepath/style/map, too, using a common function.
This allows for web templates to be self-contained in a directory, which makes
copying and modifying them easier.
#!/bin/shhg initmkfifo phg serve --stdio < p &P=$!(echo lock; echo addchangegroup; sleep 5) > p &Q=$!sleep 3kill -HUP $Pwaitls .hg