reorganized app code.
removed app template from framework folder.
code reorganization fix.
Fixes issue #124.
Merge pull request #3 from yiisoft/master

Merge from yiisoft/yii