FORGE-905 Relative URLs are now used for the REST resources.

When a targetDir is specified, then parent directory references are also generated.