Allow right-click on multiple items in duplicate view. Closes #53
Use Services.obs instead of getService for observer service
Remove unused getService for VersionComparatorService
Remove use of Components.utils.methodjit

It appears that this flag can no longer be set in new-ish Nightlies.
This patch switches code that used nsITimers with the
Components.utils.methodjit hack to use setTimeout on the hidden DOM
window instead, so that we still get the JIT. (See
https://bugzilla.mozilla.org/show_bug.cgi?id=776798)

This might also mean that callbacks from doGet etc. no longer get JITed.
At some point, we should test this with the JIT profiler.
Revert "Remove use of Components.utils.methodjit"

This reverts commit 53a4d987b60fafcb253de16a0cf5073a4406a719.
Only use Components.utils.methodjit when supported

As Boris Zbarsky pointed out in
https://bugzilla.mozilla.org/show_bug.cgi?id=878679,
the setTimeout() hack doesn't help in Firefox 23 and later. For now we
use the useMethodjit hack when available, so that performance won't
regress for Firefox 23, and cross our fingers that
https://bugzilla.mozilla.org/show_bug.cgi?id=776798 is fixed for
Firefox 24.
Merge pull request #330 from aurimasv/4.0

Prefer higher priority translators even if they don't target the top frame
Ignore files in translators directory not ending in .js

Fixes #339
Don't change capitalization of unabbeviated words in journal titles

Fixes https://forums.zotero.org/discussion/30352/
Anchor regex
Call Preferences "Preferences" in menu on all platforms

Fixes #340
Fix error message when inserting a field in an unsupported location
Ignore empty bibliography fields
Remove field codes for empty bibliographies when refreshing

This happens when a user inserts a bibliography in the middle of a
paragraph and doesn't fully delete it.

Also remove unused code for deleting citations from the document.
Maybe fix note overwriting with embedded images in notes

But given that I can't really reproduce it, this is more of a guess.
Fixes #343, Add Item by Identifier textbox is truncated on second open
Fix conflict with Cmd-Shift-A, and probably other third-party shortcuts

The Zotero shortcut keys, and their event.preventDefault(), were bound
to keydown, so shortcuts bound to keypress were still be called. This
moves most of the shortcut handling code into the keypress handler.

Fixes #344
Closes #291, Default to last-used item type when creating item via
keyboard
Update to citeproc-js 1.0.469
Don't update Date Modified when syncing related items

This caused all items with related items to lose their Date Modified
when synced down.