added a totals row to route output, with test.

modified:   lib/routes.js
modified:   test/test_route.js