Adds ability to set createdAt and updatedAt values

For newly created entities the createdAt and updatedAt properties would be overwritten on persist. If there properties are already dates, they should not be over written.