[Version Control] Optimizations to Commit Command. 

Replaced FindMostSpecificParent algorithm with a non-recursive root common root
algorithm.

No longer do recursive directory checks for update handlers.

Commit Command test run is now accurate for files.