Code cleanup

Signed-off-by: Maël Lavault <mael.lavault@mailz.org>
Change OAuth 2 grant method to implicit.

Bump version to 1.1

Signed-off-by: Maël Lavault <mael.lavault@mailz.org>