fix(store.go) fix wrong modifiedIndex of a directory after adding/deletion child nodes

A directory is a map of child nodes. We should update the modifiedIndex of the parent directory if the map changes.

The test of this modification passed. However etcd functional test is failing. I am going to look into that problem.