Validation function checkpoint #2

The function now caters for checkboxes and radio buttons. Grouping is
now done using <fieldset> instead of `data-validify-group`.