Fix #158 thanks for reporting @hoskins-robertj
Fully fix #158 as other function seems deprecated in Moodle
Fix #165 and cleanup some css styles to align with Moodle styling (remove .body)
Fix #7, added option to theme_essential_get_setting to format text or string which includes filter support