Support optimistic locking on updates

resolves clojurewerkz/elastisch#56
Test versioning on the REST api

resolves clojurewerkz/elastisch#54