WIP: CFD-134 - Changing group permission

#156 
WIP
![selection_382](https://cloud.githubusercontent.com/assets/99186/4842556/cf25e086-6026-11e4-8afd-607ed72781f7.png)

Minor.
```php
$group = $context['group']
if ($group->type ...
```