Fixed annotation attribute processing for enum arrays

Based on https://github.com/SpringSource/spring-framework/pull/263
(cherry picked from commit 06fdfb0)
Removed unnecessary CGLIB 2.2 dependency from spring-test-mvc module
(cherry picked from commit 657bd80)
Removed references to deprecated queryForInt method from documentation

Issue: SPR-10257
(cherry picked from commit 6be954e)
Fixed typo in code example

Issue: SPR-10394
(cherry picked from commit f374b7a)
Added "getName()" accessor to MethodReference

Issue: SPR-10422
(cherry picked from commit 5ff2653)
Minimized ASM usage

In particular, avoid accidental usage of ASM for core JDK types - which will fail in case of a new bytecode version in the JDK, even if the application itself has been compiled with an earlier bytecode target.

Issue: SPR-10292
(cherry picked from commit d3a4068)
Revised Joda-Time support (as a side effect of JSR-310 support in Spring 4.0)

Issue: SPR-9641
(cherry picked from commit b5d44e1)
Consistent Map/Set ordering

Use LinkedHashMaps/Sets wherever exposed to users, and code tests defensively in terms of expected Map/Set ordering. Otherwise, there'll be runtime order differences between JDK 7 and JDK 8 due to internal HashMap/Set implementation differences.

Issue: SPR-9639
(cherry picked from commit 9c09a0a)
Fixed general test suite problems found during OpenJDK 8 upgrade

Issue: SPR-9639
(cherry picked from commit 19f783b)
Refined HibernateJpaDialect for Hibernate 4.2 support

HibernateJpaDialect's HibernateConnectionHandle does not call close() for Hibernate 4.x anymore, since on 4.2, the exposed Connection handle isn't a "borrowed connection" wrapper but rather the actual underlying Connection - with a close() call immediately returning the Connection to the pool and making the local handle invalid for further use within the transaction.

Issue: SPR-10395
Removed broken applyQueryTimeout implementation (following a fix in 4.0)
Polishing
Ignore failing TopLink tests (not worth messing with since TopLink is deprecated anyway)