TIKA-1248: handle empty/null declaredEncoding with call to CharsetDetector.getReader

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