Configure yii2. Closes #1

See #1 

Uses Yii2 Advanced app code: 
https://github.com/yiisoft/yii2/tree/master/apps/advanced