Refactored routing helpers in views

I think I'm still missing helpers for some of the custom actions, but I wanted to get these changes to you at minimum. Let me know if you see any issues.