fixes STANBOL-1062 by applying the patch provided by Sergio. Also applied the code provided by Sergio to sort EnhancementChains alphabetically

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