A gunman with a swastika on his tee shirt killed 13 people, including seven children, and wounded more than 20 at a school in Russia on Monday before committing suicide, investigators said.