A full featured PHP Error Handler