Codstyle fixes. Yii2 conventions used.
Excessive variables declaring/setting removed.
Merge pull request #37 from maximal/codestyle

Codstyle fixes