Cancel pending requests on Pages

If when switching page types, if the current request hadn't completed, the pages that were currently being loaded would end up displaying as if they were of the newly selected page type. This now cancels existing requests to prevent this from happening
Merge pull request #116 from matthewdickinson/pages-cancel_pending_requests

Cancel pending requests on Pages