Multiple changes

- Added the Texture::MaxLevel and Bound<Texture>::MaxLevel functions.
- Fixed a problem with generating enumeration headers.
- Fixed the source file for the ProgramPipelineStage enumeration.