Audit module documentation (A to D)

This commit formats shell examples using bash code-block directives, so
that they get syntax highlighting. It also adds missing doc pages for
the ddns module.
adjust "CLI Example" test
allow cp.recv to fail integration.modules.sysmod.SysModuleTest
Merge pull request #6706 from terminalmage/docs

Audit module documentation (A to D)
clarify timezone.system docstring
Merge pull request #6707 from cvrebert/patch-1

clarify timezone.system docstring
Simple guard against pid not existing.
Spelling mistakes in pydoc in modules/state.py

Just noticed these on the way through :-)
Split out options. Also added some debug logging.
Removed debug lines. Also removed very odd problematic line. Shouldnt need to exist.
Correctly create the trans_tar tarball
SCP trans tar and tell minion to execute the state pkg
Merge pull request #6704 from SmithSamuelM/develop

Added default to APIClient to load opts if not provided.
Merge pull request #6708 from robertkeizer/ps_top_guard

Simple guard against pid not existing.
Merge pull request #6709 from bruce-one/patch-1

Spelling mistakes in pydoc in modules/state.py
Fix trailing white-space.
Fix indentation.
Catch the proper exception.
Merge pull request #6713 from s0undt3ch/develop

Code fixes
If not passing a `hostname`, use `None` in `getaddrinfo`.

On my machine, passing an empty string to `getaddrinfo` raises errno 2, "No such file or directory". Use `None` if `hostname` is a string.