Initial refactoring of cost models
Initial refactoring of cost models

The cost models are now kind of factored out. The changes are still untested. Also the cost calculations on places like viterbi-segment should be updated.

aalto-speech/morfessor,aalto-speech/flatcat