merged from 1.9 :: MDL-12191 :: workaround with JavaScript to add "haslayouttabel" class to body.
merged from 1.9 :: MDL-12191 :: workaround with JavaScript to add "haslayouttabel" class to body.

dilawar/moodle