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
Don't set product-name on OSS PuppetDB

This setting shouldn't really be tampered with, and "puppetdb" is
already the default. No need to tempt users.
[packaging] Remove stray # in install.rake

install.rake has two lines with '#' in them that appears to be left over from a
variable -> hard path change. This commit removes them so the directory strings
are constructed correctly.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
(maint) Ignore ext/packaging

This commit adds ext/packaging to the .gitignore for puppetdb and also excludes
it during tarball creation in the tar rake task.
(maint) Copy filesystem utility methods from packaging tasks

As the install task uses cp_p, cp_pr and ln_sfT, this commit copies them back
into the top level Rakefile for use during build, as the external packaging
tasks will not be available at that time.
Merge pull request #448 from MosesMendoza/maint/master/packaging_fixups

[packaging] Remove stray # in install.rake
Merge pull request #447 from haus/fix_package_building

Fix package building
Merge branch 'master' into disable-version-check
Use testutils.logging when capturing log output

This avoids having to rebind logger factory with an atom logger
manually, and prevents the test from having to understand the log
format.