Libyan leader Muammar Gaddafi has been elected chairman of the African Union at the pan-African organisation