Norway gunman faces court hearing