Implement the IN operator for predicates

@alazier 
Should non-exported functions actually be RLM-prefixed? That's somewhat misleading, as the prefix isn't needed to avoid symbol name collisions.