make it more consistant, so we can then simplify the code a bit by
making relation table names composable (i.e. the relation table between
content and revision is now simply content_in_revision, and so on) as
well as column names (e.g. rev->revision and so on).
Depends on D5842.