Call git log and split output lines
Reimplement parse_log_lines() to use Loglet class

Fix error in adding optional arguments to a git log call. Previously,
get_optional_arguments() could return an empty list (when no optional
arguments are specified) and it turns out calling a_list.extend([])
makes a_list into None. That is a problem.
Implement add_header()