Convert usergroup tree to usergroup grid in ACL page

Convert usergroup tree to tabbed usergroup grids in ACL page to handle huge amount of groups/members.

From this:
![modx-tree-usergroup](https://cloud.githubusercontent.com/assets/308524/3947185/86f193a8-2685-11e4-807a-89eada7601ea.png)

To this:
![modx-grid-user-group-groups](https://cloud.githubusercontent.com/assets/308524/3947197/b9fda3fe-2685-11e4-9f20-240a9e6e924a.png)

Clicking the row will open closable tab which contains the members of the selected group.
![anonymous-group](https://cloud.githubusercontent.com/assets/308524/3947200/c51f75d2-2685-11e4-93ab-5fa391e29b04.png)

This seems convoluted. If i understand correctly, you try to check if the create action has been activated from the top bar button or from a contextual menu.

Why not assume it's created from the top bar : 

```js
var p = 0;
if (!(item instanceof Ext.Button)) {
    // Action launched from a contextual menu, grab the record id
    p = r.id ? r.id : 0;
}
```

This would also remove the need of the `createDelegate`