Two addons : post function and dynamic domain/project name

I have added 2 functionalities : 
 - I have deleted DOMAIN and PROJECT constants to manage differents domains/projects 
 - I have created"post" function to create/update entities