Unified set/map code generation.
Added binary search code generation for containsKey().