added --tree-stats option to diff-tree
added export-diff op and shp wrapper
Merge remote-tracking branch 'origin/pr/538'