reworked the URL routing system

Signed-off-by: robin-jarry <robin.jarry@gmail.com>
Merge branch 'master' of http://github.com/apiwatch/apiwatch