QPID-3769 Applying a modified version of a patch from Siddesh Poyarekar.
The original patch did a literal comparison of the address strings which
can cause issues if it had white spaces. The modified version matches
the type and name.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456007 13f79535-47bb-0310-9956-ffa450edef68
QPID-3769 Modified the hashcode impl to match equals. Added a test case
to verify equals and hashcode for ADDR based destinations.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456008 13f79535-47bb-0310-9956-ffa450edef68