avoid assertion failure if funny @:to functions are declared

git-svn-id: http://haxe.googlecode.com/svn/trunk@6668 f16182fa-f095-11de-8f43-4547254af6c6
[java/cs] get_overloads should return last version of overload, not first


git-svn-id: http://haxe.googlecode.com/svn/trunk@6669 f16182fa-f095-11de-8f43-4547254af6c6
revert of accidental change


git-svn-id: http://haxe.googlecode.com/svn/trunk@6670 f16182fa-f095-11de-8f43-4547254af6c6
handle multiple arguments of @:multiType @:to functions

git-svn-id: http://haxe.googlecode.com/svn/trunk@6671 f16182fa-f095-11de-8f43-4547254af6c6