[Olena-patches] 1391: Add traits for comparison and logical operators.