[server] Refactor Repository.register_user into a CubicWeb service (closes #3020639)
[jcr: move commit to the caller; add item in release notes; fix NameErrors]
#! /bin/sh -ecase "$1" in remove) if [ -x "/etc/init.d/cubicweb-ctl" ]; then invoke-rc.d cubicweb-ctl stop || true fi ;;esac#DEBHELPER#exit 0