Add decoder parameter for DiscriminantTrainer specifically for training
Fix serialization of discriminant hmm