- Add code to check that all required documents are approved before to
approve a document or phase.
- The button approve is disabled if not all required documents are
approved.
- Make all transitions (except delete and undelete) not recursive for
phases and documents