store: use nextIndex where necessary
store: add etcd-index tests
Merge pull request #1153 from jonboulle/1153_etcd_index

X-Etcd-Index off by one