Fix relative link detection in renderer
Fix dir option in site generator

Use relative folder not absolute
Add outdir option to generators' generateFile
Resolve image URLs, fixes #38

Using outidr & dir options