Fixed the wildcard url fetching.
Major rewrite of the pages module. Now a page can appear in multiple locations. Still need to add the ability to add the other locations when editing, but need to get this committed. Also need to work through the naming and logic, some of which is probably in the wrong place.