implementation of STANBOL-1236 for the 0.12 branch: Some changes could be merged back, but as the web and jersey modules in 0.12 are considerable different most of the things needed to be implemented differently as in the trunk

git-svn-id: https://svn.apache.org/repos/asf/stanbol/branches/release-0.12@1551862 13f79535-47bb-0310-9956-ffa450edef68