Nigel Farage’s party gains its first foothold in local government after seizing hundreds of seats.