Fixes different issues with the elasticsearch input

- The wrong scroll id was used in processing the new data
- Made the size and scroll time configurable
- Added extra option to enable the search_type=scan ( enabled by default )
  This improves the speed but disables sorting
Merge pull request #670 from electrical/es_input_fixes

Fixes different issues with the elasticsearch input