QPID-4766: Added generic filter support to address handling in qpid::messaging. Added support for legacy-headers-binding and newly defined xquery filters.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492310 13f79535-47bb-0310-9956-ffa450edef68
QPID-4917: allow shared topic subscriptions

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492311 13f79535-47bb-0310-9956-ffa450edef68
QPID-4921: check pointer before using it

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