Oauth Client is implemented

The Users API now uses Oauth 2.0 so a client is needed now.
every thing seems to work, except edit users. further debugging must be
done
Revamped login

Adapted to the new OAuth authentication method. This application no
longer handles username and passwords by itself.
Fixed some OAuth bugs :)
Wipe all tokens on logout
fixed OAuth parameters