Improvements to paper-wallet restore error handling

Various improvements to error handling when restoring wallets from paper
backups. Handle out-of-charset characters (treated as zeroes), odd-length
inputs (treated as uncorrectable errors), missing checksums (treated as
corrected errors, instead of being silently ignored).

Also print line numbers when reporting errors during restore.