trunk: various changes that relate to G.fst ilabel sorting.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4619 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8