fix order of blobs and trees in a tree
Change SortedTreeContents specification.
The class stores mode of blobs and trees now.
fix order of '.gitmodules' and 'org_repo' in the tree.
Merge branch 'fix_tree_order'