Improved usability.

The oauth2 record is now contain both tokens and client info. The new
oauth2_token record is introduced to implement that.
The new function complete make oauth2 record from client and token
records.
Improved usability of refresh function, which now accepts the whole
token record and decides by itself which token to use, the access one
or the refresh one.
Small name refactoring.