Rename getAllKeyReferences:... to accumulateKeysIntoSet:...
Rework methods to be a little more idiomatic objective-c
Add some tests for triple compound predicates