Adding Dispatcher prefix functions.

This is in preparation for loading modules with dynamic prefixes applied
to their urls.
Whitespace fix for tests.
Adding getRoutes method to Dispatcher.