[cs] generic implementation-related fixes:
- Type.createInstance() with generic classes that weren't looked up by name now works correctly
- __cast field now is typed correctly on deeply nested generic types


git-svn-id: http://haxe.googlecode.com/svn/trunk@6587 f16182fa-f095-11de-8f43-4547254af6c6
[java/cs] fixed issue #1643


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


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