Moved Postgres-based RoleDB into core