Only access superglobals in a single place

This ensures that the only superglobal usage is *before* dispatching, allowing
dispatching to be used for internal routing.
Merge pull request #2 from WP-API/abstract-superglobals

Only access superglobals in a single place