[TASK] Assign version-related variable in error templates

Useful when displaying version-specific error information in custom error templates.
Merge pull request #154 from NamelessCoder/errorvariables

[TASK] Assign version-related variable in error templates
[TASK] Remove redundant style which looks odd on 6.1
Merge pull request #155 from NamelessCoder/style

[TASK] Remove redundant style which looks odd on 6.1