Function for rotating an Elasticsearch index and associated current index alias.

This code requires an appropriate index template setup in Elasticsearch.
Added log messages.
Merge pull request #20 from comperiosearch/es-timeseries-setup

Functions for Elasticsearch index rotation.