Template.Controllers tests

- Added tests for base controller.
- Fixed typos in resources for content.
- Added 404 redirect page on release build.