DISPATCH-72: Fix c_entity locking to prevent add/remove entities during update.

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