Small change to the timestamp

- Moved the timestamp generation for attributes and events that are
being saved and don't have one to Model->beforeValidate()