Use directory for each site as a unique ID rather than name, server_name, root_path, etc.

This simplifies the config a bit.
Move WP download to top of state file as it doesn't happen in the loop
First attempt at setting defaults for local database data