Apply patch from Raimund Merkert and Chris Mattmann for TIKA-1047: Provide a JAX-RS to detect only mediatype.

git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1439143 13f79535-47bb-0310-9956-ffa450edef68