Add bean declaration for view configurers

Register view configurer as lazy beans, in order to allow optional
bean declaration.

This commit also fix default view resolver prefix and set
application context and servlet context after setting viewResolvers
in WebMvcConfigurationSupport#viewResolverComposite.

Issue: SPR-7093