[#5788] Fixed closed session issue and added limit option for performance testing of RefreshLastCommits

Signed-off-by: Cory Johns <johnsca@geek.net>
[#5788] Fixed caching of LCDs during build

Signed-off-by: Cory Johns <johnsca@geek.net>
[#5788] Fixed broken --clean option for RefreshLastCommits

Signed-off-by: Cory Johns <johnsca@geek.net>
[#5788] Added lcid caching and checks for added paths to improve performance of refreshing LastCommit docs

Signed-off-by: Cory Johns <johnsca@geek.net>