Add commit summary method

Sometimes, commit messages are longer than one line. The new
Summary() method returns just the first line of the commit.