QPID-3769 Added a check to see if the subject is equal.

(cherry picked from commit f08d757099b0c25a67353a06cd2c7706cbee701d)

git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1463215 13f79535-47bb-0310-9956-ffa450edef68
QPID-3769 Addressed concerns raised by Alex. Expanded the tests to
verify subject equality when determining equality for destinations.

(cherry picked from commit 8ff0a1b8baf61f6cab32e30cfcceabd3c289e99f)

git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1463216 13f79535-47bb-0310-9956-ffa450edef68
QPID-3769 Modified the equals and hashcode methods in  AMQTopic to fall
back to AMQDestination for address strings. For BURL the existing impl
will continue to work. Added AMQAnyDestination to the tests.

(cherry picked from commit 12f08eee5b5e0d3b77537e66180c74d7ac845ef4)

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