Strip trailing whitespace; misc -Wall and hlint
Fixed bug in Subst plugin
Subst plugin could not deal with non-existing pages, resulting
in an server error when trying to substitute with an absent file.
This patch now creates a link to the page in order to create it.
Added Subst plugin (due mostly to gwern).