The site_generate() function now loops over site files and writes them.

Removed hard-coded writing of page struct.

Added path_alloc_join() function to join generated site directory to
specified file path correctly when specified file path is absolute.

Added <h1> tag to test sitedef file.

TODO: automatically create missing output directories.