mod_fastcgi

Combining #295 and #325 which are similar but not identical.  Rebased on current master, merge conflicts resolved, attempted to address all of the comments/requests for changes.