TIKA-1494. Test that decrypting with the wrong password returns a 500 error in MetadataResourceTest.

git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1646707 13f79535-47bb-0310-9956-ffa450edef68
TIKA-1499: fold MetadataEP in tika-server into MetadataResource

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