Fix validation for fields with multiple group names

The method `_isFieldInGroup()` in `forms.js` had the arguments for `$.inArray()` reversed. `$.inArray()` was therefore returning `-1` whenever it was called, with the result was that no fields were recognised as being in the specified group and validation succeeding every time.