Make sure that year is always returned as string
Merge pull request #242 from aurimasv/date

Always return year as number in strToDate
Don't sync updated settings more than once
Use hostPort for debug messages
Fix file sync error
Merge branch '3.0' into 3.1

Conflicts:
	chrome/content/zotero/xpcom/date.js
Update submodules
Always return order property from strToDate()

Broken in merge 995091d0
Don't break when DOI is not a string
Escape backslash
[duplicates] DOIs are not case sensitive
Overhaul tags box

- Improvements to #20, with the tags box switching to a multiline
  textbox in the style of #164 on a multiline paste or Shift-Return. In
  the multiline box, Return is a newline and Shift-Return saves
- Allow tabbing through tags via keyboard (and keep the last empty
  textbox open on tab, so you can hold down the tab key to get all the
  way to the end)
- Fix various post-update focusing issues (though the wrong textbox is
  still selected for some multiline updates via Tab/Shift-Tab)
- Make (single-line) tag entering much faster by not reloading the whole
  tags list and just placing the new tag in the correct sorted position.
  This could be made even faster with tag selector optimizations.
- Allow the Add button to focus when switching to the Tags pane (and the
  same for the Related pane, for good measure)
Remove old tags box code from itembox.xml
Merge pull request #260 from aurimasv/duplicates

Duplicates
Fix various file sync issues

- Clear per-library error icon on new sync
- Pass upload errors through to end
- Don't make WebDAV verification error a global failure
- Some other things
Ensure that arrays are not strings
Parse PMIDs from extra field
Extract PMCID from extra field
Skip repeated file syncs for libraries with no uploaded files
Remove debug output