diff: Move diff stat addition to a common function

Signed-off-by: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
diff: Move diff stat drawing to a common function

Signed-off-by: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
log: Colour the diff stat

This commit adds custom log_read and log_draw functions that utilize
the diff stat drawing functions from the diff module. The absence of
the triple hyphen separator prevents direct usage of the diff drawing
functions.

Signed-Off-By: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>