Register shutdown function to capture output of fatal php errors, bump to 1.2.2