Fixed the broken API 404 handler, and added redirects for the original stats API endpoints.
Fixed the broken API 404 handler, and added redirects for the original stats API endpoints.

waferbaby/usesthis,ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis