refactor plog_files and pconf_files

Avoid duplicated code, and add support for capture filters.
Ideally this would be moved back upstream into
/usr/lib/supportconfig/resources/scplugin.rc

(cherry picked from commit d4b530b5e10c6e85d41353d44ea7dc3a93fa94ff)
Signed-off-by: Adam Spiers <aspiers@suse.com>
censor passwords when collecting Chef data bag *.json files (bnc#808887)

(cherry picked from commit 63650ac514a45757e46104d1a9efd7967f3166b1)
Signed-off-by: Adam Spiers <aspiers@suse.com>
fix censoring of multiple passwords on a single line (bnc#808887)

(cherry picked from commit 88256fdee752417fb995fd763ebdc1aebcb66023)
Signed-off-by: Adam Spiers <aspiers@suse.com>
censor keystone service token too

(cherry picked from commit 3a5a15ae54b6bce78133e2767ee91e3e7ad7de7a)
Signed-off-by: Adam Spiers <aspiers@suse.com>
Merge pull request #10 from aspiers/suse-cloud-1.0

backport refactoring and password censoring from suse-cloud-2.0