Added document/upsert to the native client

Since 0.90.2 ES has an ability to do proper upserts without using scripts (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html, search for “upsert”).

I also fixed a tiny TODO in adjacent spec, hope it’s fine to keep it in one commit.