Jacinda Ardern has received praise from terror attack victims and others in New Zealand for her response to shootings at two mosques.