Optimize API

Optimize API added:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/in
dices-optimize.html#indices-optimize
Merge pull request #20 from r--w/master

Optimize API