Intrahealth fixes

In the PR fixes for cases:
http://manage.dimagi.com/default.asp?125601#708608
http://manage.dimagi.com/default.asp?124261#708886
@czue This method changing the group headers in export table from: 

CU | | 1 | Collier | 2 | 3 | 
----|------|---|----|------|----
SC1|SC2|SC3|SC1|SC2|SC3

to:

CU | CU1 | CU2 | Collier | Collier1 | Collier2 | 
----|------|---|----|------|----
SC1|SC2|SC3|SC1|SC2|SC3

In first row we have group headers, in second row we have sub headers. I hope that make more sense now.