924 enable current version support for links

Shall fix #924 by adding a `link_version_id` field to the link tables. Also includes methods for fetching the current version (`current_version`) and for updating the field (`update_version(to: ...)`).

I have also added specific specs for testing the semi-automatic setting of the field during ontology-parsing.