Unbreak #to_epoch method in datadog output plugin. (LOGSTASH-1427)

The event timestamp might already be a Time object.
Merge pull request #690 from bernd/LOGSTASH-1427

Unbreak #to_epoch method in datadog output plugin. (LOGSTASH-1427)