Use a dict instead of set to correct ATNConfigSet configLookup

Now uses same keys as Java implementation
fix existing bugs exposed by ATNConfigSet changes
don't use custom key for OrderedATNConfigSet
fix use of mergeCache
fix default value for semantic on LexerATNConfig
optimize getConflictingAltSubsets key
Merge fixes for ATNConfigSet allowing use of proper key