Added ability to set configure number of shards and replicas

A modification that allows a user to configure the number of shards and/or the number of replicas when the index is automatically created by the river plugin.