Add code coverage reporting with gcov and lcov

This is using the gnome-common macros. autogen.sh will enable this
automatically if lcov is installed.