Automatic measuring of code coverage

These patches add the ability to configure the build to include gcov extensions.
The Travis CI configuration has been extended by automatic code coverage using coveralls.io.