Add posibility to catch exception on app level
Merge branch 'develop' of git://github.com/korchasa/micro-yii into develop
App modes constants