QPID-5283: ensure queue has no consumers before granting exclusive ownership

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537579 13f79535-47bb-0310-9956-ffa450edef68
QPID-5284: ensure timestamp is added to the data that is persisted

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537889 13f79535-47bb-0310-9956-ffa450edef68
QPID-5286: replenish credit when using get

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537985 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: prevent scary error message when not actually appropriate

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538016 13f79535-47bb-0310-9956-ffa450edef68
WIP: fix up c++ test some more