Change page template to promote good practice.
Merge pull request #2144 from michael-e/fix-page-template

Change page template to promote good practice. Closes #2141
Don't double set token with XSRF. Closes #2118
Add NOT_UNIQUE error message constants to EventMessages. Closes #2063
Include check for the zero datetime. Fixes #2112