more robust config step, add "is_hdf5" file
- added
is_hdf5(filename)
function that returns.true.
if a file is HDF5 - put stricter tests in CMake and Meson configure step to help user understand if there is a runtime HDF5 problem
- dedupe code by putting more into check() internal function