Allow multiple attributes to pass to groupBy

In some cases more than one attribute is desirable to have maphilight group by for mouseovers. This converts groupBy to an array if it's not already one, then wraps the appropriate routine in an iterator over that array.