The East Village building that was the center of a major fire last week had a history of improper gas work.