Better error handling.

If an error occurs when trying to process a broken .tex document, that
document is disabled and its associated file is removed from the
filesystem.

Subsequent requests for the same document returns HTTP 410 Gone.