Handle priority languages in group selector

Also add support for priorityforce in the query message groups API.

Change-Id: I49be40e2f0f09e63f7986bd98209439ae44e3c82
Merge "Handle priority languages in group selector"