Add check and reporting to apache_mod_cgi_bash_env

And some additional improvements.
The use of ```check_host``` also means this needs to be modified too.