add support for "url_subdir" variable in the config.
This is needed to generate site that is going to be placed not in the root of a web-server - keeps urls and file locations consistent.