Ginkgo-compatible simple_theme changes for Hawthorn
Created by: lgp171188
This PR rebases https://github.com/open-craft/opencraft/pull/289/ on top of the latest changes in the master branch and retains ginkgo-specific changes removed in that PR, for backward compatibility.