fixed indentation and added comments, CRM-14503

----------------------------------------
* CRM-14503: Incorrect global groups listing
  https://issues.civicrm.org/jira/browse/CRM-14503
Merge pull request #3036 from kurund/CRM-14503

fixed indentation and added comments, CRM-14503