Added flush method on sender to be able to send metrics from a daemon

Currently all metrics are sent at the end of the request or when the execution of a command halts. This if not adequate if you're using a Symfony2 console command as a daemon or have other long running processes.

For that reason I've added a flushMetrics method which sends the metrics and clears the queue.