Ugandans lined up outside polling stations after a repressive campaign saw hundreds of supporters of President Museveni ‘s opponent arrested.