Added cleanup function

Defined plugin_unloaded so that the cached PyObjC module is deleted on
unload.