Register a shutdown handler to catch fatal errors and avoid WSOD.
Register a shutdown handler to catch fatal errors and avoid WSOD.

Signed-off-by: Jason Lewis <b136be6b8ecc2c62ceb9857ec62bf85489a45e0c@gmail.com>

laravel/lumen-framework,callam/lumen-framework,piokom123/lumen-framework,orchestral/lumen,rlacerda83/lumen-framework,rakaaditya/lumen-framework,lasselehtinen/lumen-framework,SelimSalihovic/lumen-framework,Jaspur/lumen-framework,crynobone/lumen-framework,cnanney/lumen-framework,Beanhunter/lumen-framework,xiphiaz/lumen-framework,scrubmx/lumen-framework