src/dates.php: Disable support for dates before 1902 for 'getLastDayOfMonth' function, as PHP seems to have trouble with such dates (and I have no time to figure out why/when this occurs right now); and, add additional sanity check on month value passed to same function.