Parse the resource pack XML files into metadata structs.

Also rename all our header files to .hpp extensions.
Add libpng as a required package for CMake.