QPID-5497: implement Session::sync()

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560125 13f79535-47bb-0310-9956-ffa450edef68
QPID-5498: restore expiration on paged messages

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