Improved filtering for year-only date values.

Still isn't perfect, though - perhaps there needs to be a way to filter
on year-only values only, with filter values like "1985 (no month)",
when the set of values is mixed between full dates and year-only dates.
That still leaves the larger question of handling arbitrary ambiguous
date ranges, like "died 1864-1866", or "born 14th century".