Fix url definitions in DWStyles to allow optional trailing /
Use URL template tag on stats page instead of hard coding URLs