added support for titles in 404 pages
moved from ThemeHelpers to HtmlHelper class
solved notice of undefined post on 404 pages
fixed error on old implementation of HtmlHelper::anchor with string instead of array as $parms