HDF: Update parser

Squeezed similar functions into a function template.
Updated extensions for CModelLoader
Merge branch 'master' of https://github.com/Huddayn/hengine