wiki: Fix table of contents links in some browsers.
wikitoc: Accept period in header id.