Rethink the way groups and subgroups are shown in dropdowns.

After gitlab-ce!15294 groups and subgroups presented in dropdowns look like this:

Screen_Shot_2017-11-13_at_15.04.35

This could probably be improved by showing groups in a nested fashion, that could prevent us from showing an extensive list when searching for the parent of a huge tree.

/cc @tauriedavis @dosuken123