Minor updates

-Hunting down problem causing this bug:
http://youtrack.jetbrains.com/issue/HAXE-367
-Added a new test case for testing class with a type parameter.
-Fixed typo where @:core_api should be @:coreApi per Haxe docs.
http://haxe.org/manual/tips_and_tricks#general-metadata