Better code generation for switch.
Merge branch 'haxe-2.11' into HEAD