Prime accused in New Zealand Mosque attack appears in court