Allow not including the index name in API calls

If the Elasticsearch cluster has rest.action.multi.allow_explicit_index set
to false, then the bulk API call should not include the index name and
instead should add the index name to the URL, i.e. /logstash-YYYY.MM.DD/_bulk