Fixes #4493: Add information from /etc/profile and /etc/profiles.d to in...

...ventories and CFEngine environment

Ticket: http://www.rudder-project.org/redmine/issues/4493

To be merged in 2.9