Corrected an issue in categorizer.
Added method to query whether an item is part of a categori in
categorizer.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>