implemented the sender worker for metrics
added test and comments after first round of reviews
second round of of review, support bulk calls in setting sent,
added more mocking in tests
support bulk calls in the sendmetrics api call
updates after merging with trunk
Added expected request parameter to PatchUnitResponse function.
Changes from 3rd round of reviews
Merge pull request #767 from tasdomas/patch-unit-response-expect-request

Added expected request parameter to PatchUnitResponse function.

We should be checking if the expected API request is issued.
minor test changes after 4th round of reviews
Merge pull request #676 from mattyw/add-metric-sender-worker

Implemented the sender worker for metrics

Implemented a sender worker that will send metrics to a given service