CORE-5832 Re-org /apps/categories routes and domain.
CORE-5832 Refactored /apps/elements.

Moved /apps/elements endpoints into their own routes, split each element type into its own endpoint, and added swagger docs for their return types.