Haxe3RC compatibility

These are the changes I've made so far to get my ufront app compiling.

There will have to be a fair bit more to get full coverage of the library.  For example test.neko.hxml still does not compile and gives about a page full of errors.  I will come back to it as I have time.