Ensure that replacements are also applied to command line

Environment variables and the command itself could contain e.g. absolute paths.
[Compat] Ruby 1.8.7 hashes are unordered
Merge pull request #4 from mrackwitz/fix/redact_command_line

[Fix] Ensure that replacements are also applied to command line