Keep active item pane editing field open when window loses focus

Closes #153
Refactor Zotero.Utilities.varDump. Add handling for Error and XPCOM objects
Remove safeDebug