Slight date disambiguation tweaks.

We now look only at OContrib and OYear, if there is an
OContrib; otherwise we look at everything.

This solves a problem in which locators caused failures of
disambiguation.

The code here is really a mess, but I'm hoping it can be
patched up.

Cf. issue #14.
Fixed issue 14, added test.

Note:  there are still issues with disambiguation when authors
have the same last name and different first names.  But this
should probably be a separate issue.

Closes #14.
Revert "Fixed suffixes in localized date formatting."

This reverts commit 75bf75537f691795cc54fbfa3348002f610235e9.
Fixed locale files for textual dates.

This fix is needed for date ranges to appear in the form
1.-2. Marts.  The period is the ordinal form, not a suffix.
See #12.

Changed the following locales (every one that had ". " as suffix):
cs-CZ, da-DK, de-AT, de-CH, de-DE, et-EE, fi-FI, is-IS, nb-NO.

Together with the reversion of the earlier fix to #12,
this closes #18.
test-pandoc-citeproc: Test executable rather than library function.

Also, set locale before running executable.
Closes #19.
Support new langid and langidopts bibtex fields.

Closes #11.
Folded biblio2yaml into pandoc-citeproc.

pandoc-citeproc bib2yaml = biblio2yaml
pandoc-citeproc bib2json = biblio2yaml --json

Closes #16.
Updated locales-nn-NO.xml.
Changed pandoc-citeproc to use --bib2yaml/--bib2json options not args.

The use of arguments conflicted with pandoc's practice of passing
the writer name as first argument to filters.

Closes #20.
Version bump to 0.3.
Added changelog.
Added Generic instances for types in Style, Reference.

Closes #22.
Don't fail to parse langid if langidopts missing.

Closes #21.
Updated changelog.
Require ghc-prim on ghc 7.4.x.  (Needed for generics.)
Version bump to 0.3.0.1.
Updated changelog
Fixed representation of reference types to conform to CSL.

motion_picture, legal_case, musical_score, personal_communication.

Closes #24.