git: Implement full commit message parsing

Commit struct now contains Message field that can be used to get the full commit
message. Also a few utility functions were added or renamed.

Change-Id: 78ba6726a4
Story-Id: SF-15