PROTON-666: if a delivery has local state before being sent then apply it to the transfer frames, allowing them to e.g. carry TransactionalState with a txn-id within.

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