A rabies model with distributed latent period and territorial and diffusing rabid foxes