fixes bug 536 + do not remove from module list until after client   module unload event
fixes bug 536
+ do not remove from module list until after client
  module unload event

git-svn-id: ed337ca7cdb08c0ba29d8fe58632bb7686892c2d@932 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6

rnk/dynamorio,rnk/dynamorio,rnk/dynamorio,rnk/dynamorio,rnk/dynamorio