Added implementation of refresh token requesting flow.
Improved thread handling in OAuth2Grant interface implementations.