Added POST support to getAccessToken.

Added GRANT_TYPE and AUTHORIZATION_CODE constants.