Support required validation for checkboxes and radio buttons in browsers that do not support html5 validation.
- Add required check for checkable groups.
- Add gatekeeper-invalid class for old browsers.
- Tidy up the example.