Display message when sysenv doesn't have a depenv

Display a message to the user when a system environment does not have
any deployment environments.
Moved project create/edit form to template
Fixed bug where users cannot edit projects