Add possiblity to disable pdftotext using +nopdftotext tag
If no mime-type could be detected, fail

The main reason for this is a missing/invalid file ending
Correct set the exitcode for addDocument