New options to sort the generated POT file

These options improve friendship with version control tools, because the
order of the messages in the generated POT file become stable and
predictable, even when sources are visited in different order, or new
sources are added.

This enhance drop-in compatibility with Babel too.
Merge remote-tracking branch 'origin/pr/51' into pot-ordering
Use xgettext compatible options for sorting