Improved performance of LogOp when path filter is specified.

- Made the filter use FindTreeChild instead of DiffOp to specifically look for a change
at the path.
- Moved the creation of geogit commands outside of loops to avoid needless work.