Refactor date ranges and fix issue #97 (Andrea Rossato).
Refactor date ranges and fix issue #97 (Andrea Rossato).

Fixes crash with date ranges within same year.

jkr/pandoc-citeproc,jgm/pandoc-citeproc,adunning/pandoc-citeproc