Fix concurrency bug in Batch Update and Delete

GetDynamicClass method: added the double check for "signature" in "classes" dictionary to avoid concurrency issues.
CreateDynamicClass: removed the upgrade to write lock because managed by the caller "GetDynamicClass" method.
Merge pull request #4 from Liu79/patch-1

Fix concurrency bug in Batch Update and Delete