OSNG-14 enabled oauth2-client to understand lists and patch, refactored
a lot
refactored a bit, wrote some tests and stuff