NPE fix for publishing RDF

In adding the ability to mark r2rml mappings as having been used to
publish data, forgot to double check to make sure some metadata does
not exist when a user applied a mapping regularly, not from the triples
store.
Mapping updates

Add class for logical table and add links between km-dev mapping
resource and the various components.