Add GA tracking code to error pages

Struck me that it would be useful to get info on referrers of 404 errors. Not DRY but I get the impression that the error pages want to be minimally complicated?