Added a candidate controller with old and new style candidate routes.
Refactored the friendly urls from the page model into a model concern.