Add git-amend function

Add a function to amend the last commit with the existing commit
message. Stolen from whattheemacsd.com