Improving descriptions of live domain settings.  Adding note about missing functionality.
Removing commented code.
On site create, save domain aliases.
On site insert, the site can never be the live environment, because it doesn't exist yet, it can not be set as the live environment.
Removing hook_devshop_project_settings!
Adding code to handle updating all the domains for a project when the live domain settings changes.
Wrong position of foreach.
Form label cleanup.
Refactoring create project environments form to work without hook_devshop_project_settings();
Fixing label on create environments form.
Always load project from  node.
removing dsm
Fixing name update hook.
Adding comment about removing environments.
Just update the environment record, don't save the whole project. Saving a project does not save the environments anymore.
Ensure bad environments with no names are loaded.
Directly insert environment record instead of saving project.