added bin directory
Added sglib-subree command (for committing to sglib from dependent projects)
Fixed a bug in sglib-subtree