namegen: refactor: split NewMarkov into loadDict

It allows to test dictionary loading while accepting a path instead of
a Reader in NewMarkov.