added a custom UrlBasedViewResolver to handle custom redirects to partner apps' oauth success callback URLs
add the view resolver to the main application context in order to get it to have access to the application's services
added a property to support a custom after-successful-oauth-dance callback URL
return the Application object instead of just its ID
save the 'entire' AuthenticationToken in the SecurityContext's credentials so that we are able to retrieve the partner app responsible for this call
specify an absolute URL for connector images
we are not expecting JSON for these calls