Updated routes' page refs, requests return, many bugs.

At the moment, this pull can be merged automatically. If after James' pull you can't auto merge, I'll merge on my side. Just let me know.

I've deleted many of the duplicate references in routes.js and added/moved others from the frontend controller (which is now gone completely) to the index controller.

I've also corrected 4 bugs, mostly mistyped field references.