Send date_histogram extended_bounds as a long. Closes #1868

Fixes extended_bounds in date_histogram agg for for users that have non-ISO8601 timestamps