Fixes an issue where several of the modules weren't listed in the module manager
Deletes assoc items when deleting main item for things like attachments, etc... [#960 state:resolved]