Prepublication, role & license acceptance and ACL entry (codename: Flywheel)

This is the work for https://trello.com/c/YyIdXIdL/875-implement-api-for-user-action-requests-on-publishing.

This depends on https://github.com/Connexions/cnx-archive/pull/245.