Fixes #2654 - Rewrite master as production when only one environment is found
Fixes #2659 - Use gsub in a non-destructive manner
fixes #2662 - Proxy::Util.escape_for_shell is being used in PuppetRun.run and MCollective.run methods
fixes #2673 - none/wildcard http 'accept' headers are being handled correctly now