The first Muslim elected to the South Portland City Council was inaugurated as the Maine city’s mayor.