fix for STANBOL-1233 including a test case. Also added the possibility to import mappings from a inputstream (e.g. initialise the mapper from a resource in the classpath)

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