Fix bug: cv::String would break if assigned to itself.
Fix bug: CommandLineParserParams's comparator would fail with equal arguments.
Merge pull request #1089 from SpecLad:contract-violations