Apache fcgi sethandler fixes

The fix for #694 / http://bugs.php.net/67541 broke Apache with mod_fastcgi, this restores compatibility.

This change puts the old `PATH_TRANSLATED` workarounds back in place so everything works like before, and adds a check for the new mod_proxy_fastcgi stuff (which breaks in certain cases with these workarounds) to skip the workarounds (by checking `apache_was_here`, which is set in case it's mod_proxy_fcgi).

Fixes bug http://bugs.php.net/67606.