BUG Fixes serious issue with FieldList::addFieldsToTab failing to accept multiple field groups.

Additional groups beyond the first are ignored.
Test cases included.
Merge pull request #2556 from tractorcow/pulls/3.1-bug-fieldgroup-name-fix

BUG Fixes serious issue with FieldList::addFieldsToTab failing to accept multiple field groups.