Removed transaction annotations and replaced with decorators.
Issue 15: No paging info on history response
Changed to only write out updates when entries change.
Now gets current timestamp from the database.