Middleware to catch all error in WSGI pipeline

Change-Id: I6214b48923efe765dc87bc143fbb346efd0b17b3
Merge "Middleware to catch all error in WSGI pipeline"