meson: add default compiler warning flags and enable -Werror on CI
This enables various compiler warnings project wide and disables the triggered ones for each library/executable. This should give us roughly the same behaviour as with autotools.
Tested with gcc8 and clang7.