Routing catchable PHP errors & displaying exceptions in command line