Docs: Add authenticated curl example to tutorial.markdown and link to curl.markdown for more details
Merge pull request #445 from nfagerlund/tutorial_link_adjustment

Docs: Add authenticated curl example to tutorial.markdown and link to cu...
Add utils for capturing log output during testing

This commit adds a namespace for logging-related test utility
functions.  Therein, it addsmacro and a couple of functions.
The macro, `with-log-output`, simplifies the process
of temporarily redirecting and capturing logging output during
tests.  The utility function `logs-matching`
provides a means for searching through the captured logs for log
entries whose log messages match a specified regular expression
pattern.
Generalize and improve our utility function for parsing CLI args

At some point in time the clojure CLI library that we use to parse
stopped supporting a flag to indicate 'required' arguments.  Thus,
we were getting much farther into the code than we should have been
if you left off, e.g., the `--config` option to the `services`
program.  This also resulted in useless, unintuitive error messages.

Additionally, the function that we were providing in `utils` to
generalize our CLI argument handling for other PuppetDB command-line
tools included more arguments than would be applicable to some
tools.

This commit makes the `cli!` more general, and moves the app-specific
options back into the apps themselves.  It also adds support for
checking for `required` arguments and fails with a reasonable error
message if you are missing any.
Merge pull request #394 from cprice-puppet/feature/master/logging-test-utils

Add utils for capturing log output during testing
Merge pull request #433 from cprice-puppet/maint/master/generalize-cli-validation

Generalize and improve our utility function for parsing CLI args
Attempt at catching this failure during publish

Signed-off-by: Ken Barber <ken@bob.sh>
better error message

Signed-off-by: Ken Barber <ken@bob.sh>