Clear site directory before build

Remove the content of site_dir to remove old files which dropped out of the documentation.
I think we want to support the clean flag for json building too.