Add scripts for DB migration

* groups_to_ogs.sql: transforms groups into orgs and assigns datasets to
  orgs

* users_to_members.py: adds users to the members table according to
  their old group roles so these are moved into the relevant
  organization