Add previousExceptionHandler attribute in Engine class

Add previousExceptionHandler attribute in Engine class to allow integration with third party lib
ex : monolog

Very usefull for me.