Added an api_url_to_gui_url to core.api.resources as API URLs are resources, and GUI urls are directories... the difference resulted in every page request being preceded by a 301 to the directory. This should remove 40% of HTTP requests for pages.