Updated deprecated calls and theme.pages_list()

Updated deprecated function calls in categorize.php.

Modified `theme.pages_list()` to not cache results when exclusions are
requested; caching is breaking subsequent results if you try to do a
subsequent call without exclusions.
Added homepage module

Display a homepage instead of the blog index.
Reworked HTML sanitising for comments

Made sanitisation a helper function and added regex to strip obnoxious
attributes from tags (not perfect but effective).
sanitize_html: stripping scripts with regex

Now escaping closing brackets.
Revert "Added homepage module"

This reverts commit df23e58c93a0847d259cf6603d3a38f8f1a164c1.
Merge pull request #202 from xenocrat/develop

Some useful enhancements.