Lots of fixes for haxe3, still a lot more to go.
More changes - esp around switches.
Fixing the using order.
Moved to haxe.ds.Option and fixed the creation of abstract types.
Fixing the options types.
It's compiling the tests at least ;-)
Complete code coverage done in haxe3.
Updating the examples to haxe3
Changing to local rather than test.
Updating haxelib