Add a script to generate test coverage report.

This commit adds a script which can be used to generate the test coverage
report.  It detects whether or not gcc is installed and adds the necessary
build tag to enable the new cgo tests when gcc is available.