index: add mnemonicToEntropy backwards function

As per #7.

(and now from a branch)