Fix configuration so that both nii-core and nii-template can co-exist. Use Environment yiiPath and yiitPath for requiring