[server] Refactor Repository.register_user into a CubicWeb service (closes #3020639)
[jcr: move commit to the caller; add item in release notes; fix NameErrors]
sql('DROP TABLE "deleted_entities"')sql('ALTER TABLE "entities" DROP COLUMN "mtime"')sql('ALTER TABLE "entities" DROP COLUMN "source"')