Added a League selector component.

This is now used in the places where it is needed to select a league.
The leagues are now grouped by if they are active or not.