Haxe3 compatibility

Hi

Thanks heaps for the library.  I've just hacked at it to get the android-ui demo compiling and running on my linux box with Haxe3RC, latest NME and latest Actuate.

I've put the changes in the pull request so you can see them, but I'd recommend not merging, or merging into another branch, until you are ready to upgrade your whole project to Haxe3.

Anyway, thanks again for the lib.  I was looking at some of the various options that have come out recently and yours seemed the best documented, so I'm going to give it a go.

Jason