TC: Moved 'template_css_class' logic from Context to Controller

It should have been in the Controller all along to be able to apply to
templates in read mode as well as edit mode. Also tweaked the top-level
CSS for ra-doc accordingly