Restore 'maven.java.net' repository

Restore 'maven.java.net' repository accidentally removed in commit
2337e763.
Fixed handling of @Resource's shareable value

Issue: SPR-10931
Removed S0 from BadSqlGrammarException codes

S0 doesn't seem to be universally used for SQL grammar problems: see MS SQL Server's RAISERROR. This was reported years back; not sure why the fix didn't actually appear in the codebase back then.

Issue: SPR-10902
Ignore setAliasesByType tests since they fail on OpenJDK 8 b108

Probably an XStream-internal problem: fails to marshal the flightNumber element.
Clarified Spring 4.0's dependency on JAX-WS 2.1+ / JAXB 2.1+ in javadoc
Fixed BadSqlGrammarException usage in transaction test suite

Issue: SPR-10902
(cherry picked from commit ef66708)
Add IPv6 support in RestTemplate

Prior to this commit, RestTemplate would not would
not accept IPv6 raw addresses in URLs because UriComponentsBuilder
would not parse/encode the Host part correctly.

The UriComponentsBuilder now parses and encode raw IPv6 addresses
in the "[1abc:2abc:3abc::5ABC:6abc]" format and also supports the
use of IPv6 scope_ids (see JDK8 java.net.Inet6Address),
like "[1abc:2abc:3abc::5ABC:6abc%eth0]".

Issue: SPR-10539