Optimized entityselector auto-completion mechanism

(bug 44884)
If an entity whose label string starts with the string of one of its aliases is returned,
the auto-completion mechanism is supposed to auto-complete the alias instead of the label
since another entity that might have the search term as actual label would be dropped from
the result set immediately when performing auto-completion.

Change-Id: Iee46d20dee5c7ea6d650254c124d2581f344b1cf