Add 'optional' and 'required' classes to form group

resolves #66

Bootstrap doesn't give any specific guidelines how to visually distinguish optional and required fields. Thus this matter can be left open to custom styling by adding classes `required` and `optional` to the 'form-group' element.