turned publish_chart() and friends into a Publisher service
turned the check_server function into a HealthCheck class
one error_* function gone, a buttload still to go
for now, this can live in our global function collection

Ideally, I'd like to create a custom twig environment (like we do in the script
to regenerate the template cache), but this is not so easy with the vendor
slim twig view thingy.