made hdf5 build type configuration dependent, changed debug library name

I changed the hdf5 build type to ${CMAKE_CFG_INTDIR}, which is set to Debug, Release, RelWithDebInfo etc. depending on what configuration is selected. Thus, if in Debug mode, hdf5 will we compiled in debug mode. Visual studio does not like to mix "debug levels".

Furthermore, on my statismo-0.9 build, the hdf5 debug libraries are called libhdf5_D.lib and libhdf5_cpp_D.lib, whereas on the older statismo-0.8.1 build, they are libhdf5d.lib and libhdf5_cppd.lib. So I changed them to the new names. However, I don't know who decides the names and if this will work on other systems as well. Can somebody verify this?