Modified the engine to track how much credit is drained vs used. This should simplify PROTON-200.

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