errors in writing log/debug messages
There are several issues with log/debug-messages
- setting the debug level overwrites the loglevel
- initialization of H5hut must happen in the API functions. Otherwise log messages are written without function name (even worse: the pointer to the function name is NULL)
- inconsistent code: sometimes the type 'h5_id_t' is used sometimes 'h5_int64_t'