Fianna Fail and Fine Gael looked well placed to return to power but Sinn Fein insists it could be part of a new left-leaning government in Ireland.