JavaConfig support for view resolvers

Add a new ViewResolverComposite class to deal with multiple
view resolvers.
Also fixed some compilation warnings.
Still need to see how to register view configurer beans.

Issue: SPR-7093