added functionality to Request

- added pathInfo method and related tests