Updates to autotools

Peter W. Draper requested to merge autotool-fixes into master

Adds new function git_branch() to version.c and support to set it. Adds --enable-compiler--warnings (error/yes/no), error is default. Add support for clang sanitizer flags. Fix small issues in units.c, once warnings become errors. Make HDF5 compulsory and stop configure if not found.

Merge request reports