UIMA-3810 DUCC Web Server (WS) mini code reorg for improved re-usability

git-svn-id: https://svn.apache.org/repos/asf/uima/sandbox/uima-ducc/trunk@1593234 13f79535-47bb-0310-9956-ffa450edef68