add Meta classes to oauth2 model classes
add default app config for oauth2
migrate mimetype to content_type due to HttpResponse updates