getOAuthAccessTokenV2() update

- Changed the getOAuthAccessTokenV2() function to support Json response
and to respect the OauthV2 standards :
http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-4.1.3