Generate urls of search scripts correctly
Ensure folders are created for csv and json
Generate csv and json in data folder

This will allow special rewrite rules for non html content
Fix d3 url
Fix search box URL