[java] fixed inference / cast detection for Class<> types; Fixed issue #1750


git-svn-id: http://haxe.googlecode.com/svn/trunk@6533 f16182fa-f095-11de-8f43-4547254af6c6
[cs] respect generics' inheritance tree when making cast interface.
fixed issue #1576


git-svn-id: http://haxe.googlecode.com/svn/trunk@6534 f16182fa-f095-11de-8f43-4547254af6c6
[java/cs] Fixed implements Dynamic


git-svn-id: http://haxe.googlecode.com/svn/trunk@6535 f16182fa-f095-11de-8f43-4547254af6c6
Merge branch 'haxe/master'