Add missing ids in relation tables

Relation tables having its models has to have primary key `id`.
Without it ActiveRecord is not functioning properly. It was causing
nasty errors with malformed SQL statements e.g.
`"content_view_version_environments".""`.

There were two models without ids: RolesUser,
ContentViewVersionEnvironment.

Org and environment deletion were not working. Missing ids were breaking
deletion of relations to these models.

This was probably causing more problems than the two mentioned.