Make timestamp own its state

@jhartlaub

A version of https://github.com/clearstorydata/hive/pull/6 on top of the extended version of TimestampWritable supporting years before 1970 and after 2038.