make ConstantMapping work with custom URIs

make ConstantMapping work with custom URIs
Needed to provide licence information in commons as in gaurav/extraction-framework#7