Slight performance optimization when casting NativeObjects to the same class
or a superclass. Added a test for NativeObject.as(Class). (#450)
Merge branch 'master' of github.com:robovm/robovm