CORE-5832 Added POST /admin/apps/categories.

Refactored some kameleon.app-groups functions and added some support functions.
Added metadactyl.workspace.public-id config to metadactyl.