Changed the underlying SQLite representation of Dates to longs to enforce milliesecond integrity.