Fix fatal error, when using custom error handling when not ignoring deprecated messages.

My error handler threw exceptions on deprecated messages. I changed that, but want to suggest the following change nonetheless; it may be beneficial to anyone using >= php 5.3.
I also wonder if it is "dibi's responsibility" to set magic_quotes_runtime? It is nice and all, but if it is set to true, an exception could be thrown?