Small CSS fix for popovers.
Fixed project phases edit modal layout.
Fixed 'hasProjectAdmin' policy, this was causing multiple problems.
Small fix to Phase model.
Refactored project phase update / create code.