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@1439144 13f79535-47bb-0310-9956-ffa450edef68
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@1439145 13f79535-47bb-0310-9956-ffa450edef68