Several foreign leaders attend state funeral as thousands gather in the streets of the capital, Tunis.