A party with past links to IRA militants is ruling Northern Ireland, and leading polls ahead of elections in the Republic of Ireland too. How has Sinn Fein managed to transform itself?