main.model: decode output from 'git commit'

The summary line may contain encoded unicode characters so
decode the output of 'git commit' before returning from
commit_with_msg().

Closes #162

Reported-by: Ivar Smolin <okul@linux.ee>
Signed-off-by: David Aguilar <davvid@gmail.com>