A Staten Island judge said the city improperly published property information and wrongly required homeowners to apply for exemptions.