adding api access to projects
load process definition when the project is saved
fixed test for domain updates