fixed generation of invalid or incomplete for attributes in labels
do not generate a group label tag for checkboxes and radio buttons. closes #1062