Place custom Autoconf macros which other sigrok modules may re-use into a separate file m4/sigrok.m4. Also, introduce new macros for defining the package and library versions, and for gathering compiler warning flags.