Properly handle project deletetion constrains.
Properly handle project deletetion constrains.

Implemented using triggers in the same way as
page deletion process.

uxbox/uxbox-backend,uxbox/uxbox-backend