Refactor body class from controllers to template

https://tracker.phpbb.com/browse/WEBSITE-1158

WEBSITE-1158