add a test for years close to 0 for Date

* it is problematic with Joda-Time since JulianChronology does not accept a year 0
fix issue with year 0 in Date{,Time}.civil constructors

* fixes #1065