Merge pull request #772 from callmez/master

GroupDependency::generateDependencyData typo fix
Fix function argument

```php
normalizeItems($items, &$active)
```
Qiang use 
```php
$items[$i]['items'] = $this->normalizeItems($item['items'], $route, $hasActiveChild);
```
So $hasActiveChild not assign value and parent item not set activated

Plz, review and approval

Thanks
Merge pull request #773 from yiidevelop/patch-3

Fix function argument
code style fix.
Added ExistValidatorTest and added new option to DatabaseTestCase
doc fix in view.md guide registerJS instead of registerScript

fixes #774
added missing php reserved keywords to gii generator
gii WIP
Merge branch 'master' of github.com:yiisoft/yii2
exception page styling.
fixed doc typo

fixes #775
Finished controller code generator.
doc fix.
typo fix.
gii wip
Code style ultra-minimum-fix [skip ci]
Merge pull request #776 from lucianobaraglia/master

Code style ultra-minimum-fix [skip ci]
Added tests for uncovered lines.
finished form generator.
Changed label for gii generated form [skip ci]