[libcommhistory] Switch to requiredProperty instead of selectionProperty string.

So that we can provide a bit mask.