added -lgcov and excluding tests in coveralls

Added a separate set of variables containing the linker flags for gcov builds.
They contain the "-lgcov" switch such that the executable links against the
gcov library. Also added an exclude pattern to the coveralls.io upload that
should ignore all paths that contain a "/test/" segment.