Move Comparator and ComparatorExpression out of cologex.h so comparator types can be shared by loadable comparator libraries without pulling in the full cologex surface. Co-authored-by: Cursor <cursoragent@cursor.com>