IsEqual<T> correctly compares enums
Added Haxe2 compatibility changes to 'switch' expression
Fixed warning concerning 'switch' expression. Added more tests for enum comparision