Fix race condition in CrashGroup::find_or_create by using constraint and upsert (for pg > 9.5) or table lock
%= tag a => (href => "#", class => "text-danger", "data-toggle" => "tooltip", "data-original-title" => $tooltip_text) => begin %= tag span => (class => "glyphicon glyphicon-warning-sign") => ""% end