Add class_attr to HTML of more fields.

- While it seems useless to add classes to fields like a hidden field,
  it is actually helpful in finding that row via JS if we were doing
  some advanced things within groups (where IDs can't be used).
Merge pull request #206 from adhipg/feature/class_attr-on-more-fields

Add class_attr to HTML of more fields.