Added onModuleAlreadyDefined method.
Added tests.
Merge pull request #3 from apendua/module-already-defined

Added onModuleAlreadyDefined method.