Improve reindexing object security performance.

We now walk down the children and stop walking down if the security indexes of an object have not changed.

**warning** development is based on PR #30 , therefore the merge target is the branch `lg-atomic-update-support`.

@buchi please take a look at my changes.