redding/deas — pull request #82 by kellyredding (2013-06-19 17:40:18+00:00)
Title: Remodel route and redirect handling using proxies

This updates the route and redirect handler to use proxies to lazily
provide the route's handler class. This keeps the previous behavior
of not trying to constantize the routes until the route is validated,
but cleans up and commonizes how routes and redirects provide their
respective handlers.

There is no major behavior changes - all implementation cleanups. The
motivation is that redirect handling is just a more-specific case of
route handling. They should be done in as similar manner as possible
to take advantage of common needs and to ease in maintenance.

@jcredding this is pretty similar to what we discussed this morning, just using "proxy" objs to "proxy" handler class retrieval. Diff is a little rugged - sorry.