Added Request.matchPath() method for simplified request processing.
Refactored the web service classes to simplify mapping a URL to an app.
Fixed bug with Request.matchPath() and corrected root path extraction in app web service.