Orphan a tasks when closing a project with open tasks

--When closing a Project with open opportunities (open,assigned), a warning is displayed that says if you close the project the opportunities will be orphaned. 
--Orphaning an opportunities simply removes the projectId from the task table, the state is left unchanged.

Addresses #351 & #359