DISPATCH-88 - Added asserts to check the python lock.  Fixed instance of python calls with the lock not held.


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