Timestamp and createdDate

Added an additional column to all tables containing the date and time of
creation.
Renamed timestamp to lastmodified
Devide lastmodified global variable with 1000 to remove three zeros.