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.