vibe.http.rest cleanup : example + URL

Change DDOC example for registerRestInterface into documented unit-test, reformat it for better readability.
Add method for URLRouter to check registered routes.
Implement standard way for URL formatting using stand-alone function
rest example: add termination event
rest example: add unittests to verify route paths