createCategory(req: CreateCategoryRequest): Category
Creates a category, for POST /api/categories. The name is stored trimmed,
and the position defaults to 0. Every client is told to fetch the
categories again, as after the two writes below.