Fix security info display for recent Enigmail

PGP/MIME decryption has been rewritten in Enigmail 1.4.6, which causes to
show wrong security info for selected message. Setting selected
message's uri on select fixes this issue.
Fix typo in locale.
Merge pull request #674 from shirosaki/enigmail

Fix security info display for recent Enigmail
Be more robust when the From field contains invalid characters.
Fix issue #673.

I don't pretend to understand deeply why this race-condition happens, but that
seems to fix it.
Less debug.
Properly honor the "prefer display name over message header" card property.

This fixes #652
expose keys to outside customization
working editor for hotkeys, though it's only temporary (no
persistence) and there's no way to add hotkeys yet.  there's also no
support for non-built-in functions -- if an extension customizes a
hotkey to a function, and the user then edits hotkeys, it will trample
that function.
checking for wrong event name in addon-options-hidden
add loading and saving of keybindings and restoring default settings
allow changing of existing keys, and adding new ones.  key
customization should now be complete!
Bump stdlib and fix #677
mostly cosmetic changes, removing unneeded reportError statements,
adding comments, and such
fix bug where state variable wasn't numeric, but was being used as such
remove unneeded reportError
prevent concurrent editing of preferences in two windows (not quite as
smooth as it should be; we should allow concurrent editing and just
synchronize the behavior)
Fix the Enigmail plugin.

- The bad case where an email is displayed as HTML but still contains a valid
PGP block in its contents was not properly recognized, because the plugin
assumed the existence of a div.-moz-text-plain.
- We now fix that by clearing out the body's contents and replacing them with a
<pre> node.
inverted the sense of the test...
rearranged the module into PrefEditors (that create, modify or delete
binding objects), Listeners (for handling all the events) and
Templates (for constructing the elements of the editor)