The spatial distribution and population of novae in M31