Avoid repeated checks.

The only check is `assertNoDescendantsHaveCategoryAnnotations`. It
checks all descendants. Hence further calls of
`assertNoCategorizedDescendentsOfUncategorizeableParents` for each
child are redundant, because it has already been checked.
Merge pull request #968 from stefanbirkner/category

Avoid repeated checks.