dtrain

Hi Chris,

I added some stuff to dtrain, e.g. parallelization with SGE, (random) resharding, BLEU+1 fix, some speedup fixes, etc.

Thank you
Patrick