Click on whole header to trigger grouping open/close

Like pull request 350, except with the click handler attached to the whole row which seems to work better.