Many of the city’s newly constructed buildings, including swanky digs with top-dollar rents, are mired in violations and complaints.