Change "get_user_info" to return json instead of a response

This makes it consistent with the other methods
Make create folder return the response
Make copy_file return the result
Unify the request handling to prepare for further simplifications
Don't return a response for delete methods
count is actually called limit
Put the status_code in the exception also
Put the status_code in the exception also
Add search method
We don't need CallableMatcher anymore
Support automatic refresh of tokens

This also unifies the request processing further, at the cost of loosing the object_id in the exception
Fix up exception handling
Use more general mocking so testing is simpler
Add method to get thumbnail
Missed commit
Raise error if token cannot be refreshed
More tweaks to thumbnails
Callback with the refresh token also
Don't set permissions unless we request that explicitly
Proper implementation of getting the thumbnail