Validate mnemonic before opening a wallet

[closes #22]