Refactored instanceof in Module into method in Application
Refactored Module::setBasePath to remove instanceof condition
Better Module::init refactoring
Removed unnecessary call
Merge branch 'master'
Moved Application::$controllerNamespace init into variable declaration, reordered Module::__construct.
Moved setting controllerNamespace back to init
Merge pull request #1020 from yiisoft/module-refactoring

Module & Application refactoring