ENV broken (perlv5.18.0), init app on handler

* Stop using the %ENV to carry the app around
	since 5.18 everything in %ENV is stringified.
* move the $APP init from dispatch to handler
	so that we have the app even on error handling
* add end_of_request event in the end of handler
	- not being used it, but intented for request based logging

themage
Changelog

themage