Update to bcprov-jdk16 v1.46
Merge remote-tracking branch 'upstream/master' into feature/bc1.46

Conflicts:
	ssl-proxies/pom.xml
ssl-proxies: Fix CRL refresh bug

The CertifcationRevocationList class caches CRL information to
reduce the cost of reloading them too often.

The caching logic contains a bug in which any call to the refresh
method will update the timestamp for the last reload even when
CRLs have not been reloaded. The consequence is that if refresh is
called sufficiently often, the CRLs will never be reloaded.
ssl-proxies: Fix CRL check race condition

JGlobus uses CRLs as if they were immutable objects, however when
using the Bouncy Castle provider, the ASN.1 parser uses lazy
evaluation internally, which means the X509CRL object is not
thread safe.
ssl-proxies: Performance and bug fixes in principal conversion utilities

The CertificateUtil class provides utilities for converting between
Globus DN notation and other string representations.

This patch fixes an O(n^2) problem in toGlobusId() caused by repeatedly
prepending a string to a StringBuffer, thus causing a growing string
to be copied internally.

The patch optimizes toPrincipal() by avoiding the rather expensive
LinkedList and replacing it with an ArrayDeque preallocated to the
correct size.

The patch also replaces the use of StringBuffer with the more efficient
StringBuilder class.

The patch fixes a bug in toPrincipal() in which white space around a
slash appearing inside an attribute value was stripped.

The patch adds unit tests for all three methods.
Merge pull request #45 from jrevillard/feature/bc1.46

Update to bcprov-jdk16 v1.46
Merge pull request #66 from gbehrmann/bug/principal-conversion-utilities

ssl-proxies: Performance and bug fixes in principal conversion utilities
Clean up white space inconsistencies.
Cleaned up white space.
Merge pull request #64 from gbehrmann/bug/crl-refresh-timestamp

ssl-proxies: Fix CRL refresh bug
Merge pull request #65 from gbehrmann/bug/crl-race

ssl-proxies: Fix CRL check race condition
gsi: fix unit tests to work with Java7
ssl-proxies: Add support for more RDN keywords

Java's X500Principal class only supports a limited number of
RDN keywords. Real world certificates make use of many more
keywords and bouncy castle and the EMI CANL library support
these. JGlobus 2 does not. This is a regression since JGlobus
1.x.

This patch adds additional mappings when mapping to and from
the X500Principal class. The mappings are copied from bouncy
castle 2.46 and CANL.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge branch 'master' into dev