SONAR-4069 Cleanup of snapshot creation
SONAR-4069 Allow to persist a project with a copy_resource_id
SONAR-4069 Refactoring to ease override of some components
 * Don't fail when there is a fake profile with id=null
 * Don't fail when there is a fake language