Add css class to an open accordion group

(This is probably a duplicate of #2223, sorry about that)

Our project required discrete CSS rules for the panel heading depending on whether it was open or close.

This minor change to the template seemed like the only way to do it.