Client JS: use main(), not global statements. Friendly error message for old browsers. Fixes #53
Smtp saver: show error msg for non-plain-text email. Temporarily fixes #54
MX lookup failures handled better.

Refactored /publickeys/query code