Various /relationship-editor endpoint fixes

Fixes detection/error messages for unrecognized parameters, and
validates link type ids with the given entity types.
Merge remote-tracking branch 'bitmap/re-endpoint-fixes'

* bitmap/re-endpoint-fixes:
  Various /relationship-editor endpoint fixes