Make dependency on localStorage optional

Trying to openpgp.js in an environment without localStorage. Keyring / config provided externally.