Send date_histogram extended_bounds as a long. Closes #1868
Merge branch 'master' of github.com:elasticsearch/kibana into fix/extended-bounds-as-long
Add more tests
Merge pull request #1967 from rashidkpc/fix/extended-bounds-as-long

Send date_histogram extended_bounds as a long. Closes #1868