class name changed from getAllModules() to getModulesWithExtendedClass()
test case for bug entered
class name changed from getAllModules() to getModulesWithExtendedClass()
class name changed from isExtended() to hasExtendClass()
allow to activate module even if it has nothing to extend. build module chains only if module extend something
duplicated code removed: isActive already check if module has nothing to extend.
legacy compatibility restored: check if has metadata or has extended class
new module must have metadata
code beautifying
test for method hasExtendedClass add
code beatifying