Fix DBCP-358
The equals() implementations of the DelegatingXxx classes are now symmetric.
There are some important API changes underlying this fix:
- two DelegatingXxx instances are no longer considered equal if they have the same innermost delegate;
- a DelegatingXxx instance is not considered equal to its innermost delegate;
- the getInnermostDelegateInternal() method has been made public (but remains part of the internal API) to allow classes extending this implementation to access the innermost delegate when required.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk@1564298 13f79535-47bb-0310-9956-ffa450edef68