Issue28 theme_essential: rewrite includes/fonts.php using html_writer

This is the rework of the original code.
If you prefer the alternative using the switch mechanism as suggested by Gareth, I will submit that under a new branch.