Just a little cleanup.
Cleaned up the routes file, moved lots of stuff into separate includes.
Started a cleaner separation of different groups of functionality: public-facing vs project admin vs system vs user, etc. More to do, but this cleans up the way the routes are being done.

Also deleted a variety of miscellaneous old crap.