Transform absolute links in ResourceTransformers

Prior to this change, ResourceTransformers that transformed resources by
updating the links to other resources, worked only if links were
relative to the resource being transformed.
For example, when the CssLinkResourceTransformer rewrote links within
a "main.css" resource, only links such as "../css/other.css" were
rewritten.

Using relative links is a recommended approach, because it's totally
independent from the application servlet path, context path, mappings...

This change allows absolute links to be rewritten by those Transformers,
provided those links are accurate and point to existing resources.

Issue: SPR-12137
ImportRegistry as a package-visible top-level interface which can easily be shared within the package

Issue: SPR-12128
Cache.get(key, type) explicitly defines an IllegalStateException in case of a type mismatch

Issue: SPR-12145
Rename test class to match name of class being tested
Update reference
Test for actual HttpInvokerProxyFactoryBean usage with plain FactoryBean return type

Issue: SPR-12141
CachingConnectionFactory proceeds to physicalClose in case of logicalClose exceptions

Issue: SPR-12148
Refactored support for @Order on @Bean methods as well as @Priority handling

Issue: SPR-11310
Issue: SPR-10548
Polishing
Polishing
Polishing
Declare ResourceUrlProvider in MVC namespace

This change adds a ResourceUrlProvider bean to the
ResourceBeanDefinitionParser to match the same in the Java config.
For consistency the name of the bean in the Java config is renamed.

Also a ResourceUrlProviderExposingInterceptor is declares as a global
MappedInterceptor.
Fix initialization issue in ResourceUrlProvider

Before this change ResourceUrlProvider used getUrlMap to detect
ResourceHttpRequestHandler instances, however the map may contain bean
names as is the case when using <mvc:resources>. Instead it now uses
getHandlerMap.
Adjust logging following SockJS client disconnect

Issue: SPR-11870
Update section on resource handler config

Issue: SPR-14036
Fix resource-chain XML syntax for cache

This change moves the resource-cache configuration to the
<resource-chain/> tag, since enabling/disabling resource cache should
be driven by a property or a SpEL expression.

So now that configuration can be set with XML attributes:

  <mvc:resource-chain resource-cache="true"
  cache-manager="resourceCache" cache-name="test-resource-cache">

In order to mirror the JavaConfig behavior, the "resource-cache"
attribute is required.

Issue: SPR-12129
Dropped RequestEntity's template variable methods in order to remove dependencies on org.springframework.web

Instead, as outlined in the revised javadoc, let's recommend manual UriTemplate usage for RequestEntity URI input.

Issue: SPR-11752
Polishing
Fix Jackson @JSONView when using XML serialization