Event manager modification

Add a $clear parameter to the "attach()" method to allow
reseting an event stack.

HTTP errors 404 and 500 are now events. Defined by the names 'HTTP.404'
and 'HTTP.500'