Updated phpdoc for yii2

Updated phpdoc for yii2
Merge pull request #7 from xVismutx/master

A number of additional features:

- Updated phpdoc for yii2
- Added changed node events
- Added translation hooks for the messages

And also replaced the spacing from tabs to spaces (this may change again)