CA-114289:Improve logging by hiding arguments with sensitive information.
Maintain a list of commands and arguments that need to be protected.
(cherry picked from commit 1ff696b31db8d9cb30afc4953951a3ca40282fe6)
(Part of a cherry-pick set of three commits which must be kept together.)

Conflicts:

	ocaml/xapi/xapi_cli.ml

Resolved-by: Thomas Sanders <thomas.sanders@citrix.com>
CA-115340: Add plugin protection to message forwarding layer.
(cherry picked from commit 6e3f50dc94cda15e84ce310ff8dd6e2c370b6067)
CA-116596 fix the fix for log-censoring

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
(cherry picked from commit 3076205b9ad50de2aeebaa2d57e835e59ab4c71e)
Use Stringext.has_substr instead of needing Re package.

A fix-up after commit f0c11881ccfeb0d0cd0ed5e263d7fd3185f23319
which brought in a fix from trunk, this commit removes the use
of the Re package.
(That package is not present on the Clearwater-derived branch.)

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
Merge pull request #1632 from thomassa/clw-sp1-lcm-hfx1002

Clw sp1 lcm hfx1002