Added geometry shader support in XML library.

- The JSON and XML library formats now support geometry shaders.
- Added a shaderTypeString method in Shader.