Bug 825913 - Integrate code coverage library in the test agent

Completed blanket integration in test-agent client and added event for switching test coverage function.