Add hook for module rendering into a theme head

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>