pages: model improvements
- Adds support for urls without trailing slash.
- Adds validation for template name.
- Adds last_modified and created columns.
- Improves upgrade recipe.
Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>