Add sanitiseBase32() to sanitise Base32 strings.

The function fixes small mistakes in Base32 strings such as the use of "1"
rather than "I".  This could happen if shared secrets are distributed in
meatspace.