Codesniff cleanup for categories model

JOINDIN-230