Fixes #3802 - Adapt function 'check_and_add_config_property' to add properties into file in argument and permit to add Apache configuration of Rudder 2.7