add getRoutes()-methode

For a WCF2.1 plugin I need all the routes, which are registered. Since it's not possible to directly access the routes as a plugin, I would propose, for introducing a method.
Merge pull request #1821 from joshuaruesweg/patch-35

add getRoutes()-methode