fixes validator parameters allowing spaces in them

The pull request allows validator parameters specified in data-validators attribute (or legacy class) after validator name  to have spaces in their values, e.g.
```html
<input type="radio" name="primary_category" data-validators="validate-reqchk-byname label:'primary category'" />
...
```