Fix Problem with user component loading GiiModule

For a simple check if gii is installed it does not have to be instanciated. So gii will not overwrite existing application components. 

Related issues:
yiisoft/yii#1906
yupe/yupe#381