Fixed a bug where if a module was loaded manually via ModuleManager::LoadModuleByName(), PreInitializeInternal() and PostInitializeInternal() would not get called properly, causing an assertion fail when unloading the module because it would be in wrong state.
Fixed a bug where if a module was loaded manually via ModuleManager::LoadModuleByName(), PreInitializeInternal() and PostInitializeInternal() would not get called properly, causing an assertion fail when unloading the module because it would be in wrong state.

git-svn-id: 65dd0ccd495961f396d5302e5521154b071f0302@621 5b2332b8-efa3-11de-8684-7d64432d61a3

jesterKing/naali,pharos3d/tundra,realXtend/tundra,realXtend/tundra,realXtend/tundra,antont/tundra,antont/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,realXtend/tundra,realXtend/tundra,realXtend/tundra,jesterKing/naali,BogusCurry/tundra,pharos3d/tundra,antont/tundra,BogusCurry/tundra,jesterKing/naali,pharos3d/tundra,jesterKing/naali,BogusCurry/tundra,jesterKing/naali,antont/tundra,pharos3d/tundra,BogusCurry/tundra,jesterKing/naali,antont/tundra,antont/tundra,AlphaStaxLLC/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,jesterKing/naali,antont/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,AlphaStaxLLC/tundra