Interface changes in genseq

Changed interface of SequenceGenerator and Emitter for beam search.
I would like to call it separately in order to compute only states which I need (with highest probabilities).