Add -Tghkm parameter

Writes internal tree structure (if available) for 1-best derivation.
Code contributed by Nina Seemann.