fixed PHP Notices in OAuth2::finishClientAuthorization()

- Undefined variable: result in oauth2-php/lib/OAuth2/OAuth2.php on line 1056
- Undefined index: response_type in oauth2-php/lib/OAuth2/OAuth2.php on line 1051

Unit test ran successfully