CRM-14109 ACLed contacts Cannot see disabled groups

3 fixes + 1 patch to re-align whitespace (it's easier to look at the 3 commits than the over-all as a large chunk of code got moved 2 spaces to the left).

1) is_active was being incorrectly added to query on contact browse
2) cache key was excluding params
3) the CRM_Group_Page_Group::checkPermission function was being called to check permissions - in addition to them being added to the where clause. Todo comments suggested this was redundant  - but in fact it was worse because the function excluded all disabled groups