Move RecoverPanics to be the top level wrapped handler.  Add new method to be sure a logger has been generated instead of assuming one has.  Move regexp list compilation into a utility and pass regexp list into CORS.