New Zealand police were hunting "an active shooter" in the centre of Christchurch city after a gunman opened fire at a mosque inflicting several casualties.