Use login environment for sudo.
Configure a git user to prevent git from crashing while auto-detecting the email address.
Align Ganglia client behavior to current Chef 11.4 version.
Bump default passenger version to the latest bugfix release 4.0.41.

CR: https://cr.amazon.com/r/2336930/
Remove trailing spaces
Refactor berkshel support. Introduce Provider opsworks_commons_assets_installer.