src/timetable: Break out leap_years_since function from doomsday
src/timetable: Fix timestamp function; add test
spec/timetable_spec: Move native function to outer scope
src/timetable: __eq was actually __lt; add __eq.
src/timetable: Add new_from_timestamp function