Use ref-id for all trs

Fixes #44
modify handling of the controller mixin

Use selection namespace and controller for mixin instead of separate
mixin
Merge pull request #45 from jadrake75/selection-mixin

Use ref-id for all trs