Add ProjectOpenedHook

- Relate to #19 
- Ask whether you want to run halt command when project will be closed if status is running