RemoteInvocation(Result) explicitly designed for JavaBean-style deserialization

Issue: SPR-11337
Introduce hibernate3Version constant in Gradle build
Ensure all tests in spring-test are executed

Prior to this commit TestNG tests would only be executed by the Gradle
build if they were located in the “testng” package. Tests in subpackages
would therefore be omitted from the build.

This commit ensures that all TestNG classes in the “testng” package and
any of its subpackages are executed in the Gradle build.

Furthermore, this commit ensures that the JUnit-based
FailingBeforeAndAfterMethodsTests test class is executed along with the
other JUnit tests even though it resides under the “testng” package.

Issue: SPR-11338
Include ServletTEL in abstract base test classes

The ServletTestExecutionListener is now prepended to the set of default
listeners in AbstractJUnit4SpringContextTests and
AbstractTestNGSpringContextTests.

Issue: SPR-11340
DefaultPersistenceUnitManager detects META-INF/orm.xml for scanned default unit

Note: A default orm.xml file is only being used when not co-located with a persistence.xml file, since we assume it is intended for use with that persistence.xml file only then.

Issue: SPR-11234
Issue: SPR-11260
Fixed setDeliveryPersistent javadoc

Issue: SPR-3983
SourceHttpMessageConverter's supports implementation needs to check for StAXSource

Issue: SPR-11341
Polish
Add DestinationUserNameProvider interface

The interface is to be implemented in addition to
java.security.Principal when Principal.getName() is not globally unique
enough for use in user destinations.

Issue: SPR-11327
Use DestinationUserNameProvider with @SendTo

Issue: SPR-11327
Fix SerializableTypeWrapper equals() performance

Change SerializableTypeWrapper proxies to directly call equals() methods
on the underlying Type, rather than possibly generating more wrappers.

This should help to improve performance, especially as the equals()
method is called many times when the ResolvableType cache is checked.

Issue: SPR-11335
Encode user names in user destanations

Issue: SPR-11302
Unwrap TypeVariables before calling .equals()

Update ResolvableType to unwrap Serialization wrapped TypeVariables
before calling the equals method.

This protects against the recent change in OpenJDK 8 (build 124)
which changed the TypeVariableImpl equals method such that it only
matches against other TypeVariableImpl instances.

Issue: SPR-11342
Temporarily deactivated Undertow integration tests

Undertow tests fail against OpenJDK 8 build 124 with a BindException.
Switched 'order' attributes across namespaces to 'xsd:token'

Issue: SPR-10886
Issue: SPR-7342
Remove serialVersionUIDs in spring-messaging Exc.

Prior to this commit, several spring-messaging exceptions
had defined serialVersionUIDs. Those exception aren't
supposed to leave the system via Java serialization; also,
their deserialization is supported only against the same
version of Spring.

Issue: SPR-11339