Move migration stuff into common.
to_workspace_url doesn't require host. add add_workspace_to_persistent_json to utils
Don't reload settings. Don't print. Better name for old renaming thing
Lots of changes
Don't reload urllib module in api.py