Added categegories to flash messages.
Added names of blocks into endblocks.
Configured Jinja2.
Lowercased True. True/False/None should be lowercase in templates.