refactor flow to produce paths before urls

Introduce `yui-path` which formats yui module paths which the url
middleware can use to format a url. Since we now have access to the path
formatting logic, we can reuse it in other places where we are
interested in the relative paths.
update readme
bump version