Relation plugin

First attempt at relation plugin.

Subsequent work will handle ellipsis, tag nesting and the config menu.