extract-ghkm: write glue grammars for all sentence offsets

extract-parallel now merges separate glue grammars, so remove
previous workaround.
@NUM@ --> @num@. In case using recaser
Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input