Main suspect in New Zealand terror attack appears in court