QPID-4668: Correct use of delivery count (should be 0 on first delivery)

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480236 13f79535-47bb-0310-9956-ffa450edef68
QPID-4819: ensure exclusive lock is released when link is detached (allowing queue to be deleted

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480238 13f79535-47bb-0310-9956-ffa450edef68
QPID-4706: allow selectors to be used on links from an exchange

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