Added current_commit function to repo.coffee

Hi i added current_commit function because that's one of functions i hadn't found while using gift - so i implemented it
Someone might also need it
Sorry for not covering it with tests - never done so - i have no such skill