Added method to list commits direct from path

R/commit.r (commits): Added method with signature equal to 'character'