Added event when a module is activated.
Merge pull request #960 from cmfcmf/activate-event

Added event when a module is activated.