[#29] Handle fatal errors

- Add php shutdown handler which adds a 500 response header, so the response triggers the .error() callbacks.
- Show error and disable busy state