World leaders are hailing key general elections in Afghanistan , saying Afghans have braved Taleban violence in a show of determination to build a peaceful future .