Fixed some problems with XCode 6
Add default case for unknown interface orientations
Allow subclasses in webGLObjectFromJSValue; fixes WebGL's delete* functions
Remember texture size so we don't have to load the image again
Allow subclasses in *fromJSValue functions
Cosmetics