Use Gwt safe casts and ClassReflection methods

This should fix up the Gwt woes.

* Removes uneeded @varargs annotation
* Removes gwt-unfriendly class.cast methods (replaces with almost redundant (T) cast
* Use Gdx's ClassReflection class.

Tested with RenderSystemTest