Yii1 compatibility

removed YII_PATH constant from the framework to be compatible with Yii 1.1 and more flexible in general.

fixes #4501
I do not think we need to care about code style in the classmap file. It reduces the size of this file.