CORE-5832 Fixes for /apps/categories/:id endpoint.

Fixed comment_id in Ratings schema.
Fixed public apps virtual category listing.
CORE-5832 Refactored /secured/bootstrap endpoint.

Migrated all bootstrap logic into the Donkey endpoint.
CORE-5817 Response now includes user preferences.
CORE-5832 Refactored /secured/logout endpoint.

Migrated all logout logic into the Donkey endpoint.