add haxe.EitherType (see HaxeFoundation/hxnodejs#15)