Add upsert_doc/4 and /5

This adds the most straight forward use of upsert, see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html "doc_as_upsert" example.