replace grit lib to rugged lib at commit/diff action

*need change gitlab view
app/views/projects/commit/_commit_box.html.haml
L:38
    = link_to parent.id[0...10], project_commit_path(@project, parent)
to
    = link_to parent[0...10], project_commit_path(@project, parent)