ERP5Type: import code from WSGIPublisher instead of redefining

This drops some patches that should no longer be needed with zope 4 to
only keep the publisher timeout changes
2 jobs for zope4py2
in 0 seconds, using 0 compute credits, and was queued for 1 minute and 2 seconds