groupby for relations

had to add this urgent _bugfix_ as it could save us from #1555 or just bring us world peace ;-)

Usage:

```
    relations:
        entries:
            multiple: false
            groupby: title
            order: title
```
Todo: add ordering for multiple colums ``order: [title, name]``, even better add sorting by the groupby column first automatic when set.