Make validateAuthorizeRequest available for POST in addition to GET

Allow client_id, redirect_uri, response_type, and state to come from either GET or POST params.
Port modified `get` method from HttpFoundation Request and add tests.