Allow aggregate funcs to return arrays in groupby

fixes #3788

Please check out whether you like the error message for `Performance Warning`.

Also, I'm not sure whether this means that groupby fails under certain conditions and not others (like when trying Cython, etc.).