Implement weighting in location picker
Implement weighting in location picker

It currently sorts by:

- Exact match of canonical name (United Kingdom -> United Kingdom)
- Exact match of synonym (uk -> United Kingdom (uk))
- If the canonical name starts with the query (Ge -> Germany)
- If the canonical name contains the query (king -> United Kingdom)

When weights are tied, they're sorted alphabetically.

openregister/picker-prototypes,openregister/picker-prototypes,openregister/picker-prototypes