Allow arbitary Apache environment variables

Allow the configuration of per host environment variables for
Apache instances. Specify as envionment=KEY=VALUE in hydra.conf
Explicit exceptions
Prevent segfault when shutting down