Fix a bunch of things: multiple interface extends/implements, casting bugs, Function -> Dynamic, dynamic class instantiations; also, simplify some of the code.
Add varargs support, remove invalid imports, fix some bugs, and update HaxeFlixel imports for newest version.