add options to index API

Add all options of the Index API according to
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html.