models/document: Add a newline

This makes it less ugly.
models/event: Add some comments.

I hope to add a lot of comments to this.
models/event: start_date should be checked before end_date.

This will provide miniscule performance increases.
models/group: Add a newline
models/page: Adding some newlines.
models/photo: Adding some comments.