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...
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
Allow SSL configuration based on Puppet PEM files

This commit introduces some functions for reading keys and
certificates from PEM files, and dynamically constructing java
KeyStore instances in memory without requiring a .jks file on
disk.

It also introduces some new configuration options that may
be specified in the `jetty` section of the PuppetDB config
to initialize the web server SSL settings based on your
Puppet PEM files.  This provides us with a path forward for
removing the `keytool` calls and such from the `puppet-ssl-setup`
script in the future.

Conflicts:

	README.md
	src/com/puppetlabs/puppetdb/cli/services.clj
Revert extra SSL config options from services

After discussing with Nick Lewis this morning, we decided that the
configuration code for supporting PEM-based SSL auth in our
main services namespace was nasty enough that it's probably not
worth merging it in for now, since we don't yet have a plan for
how we'd allow users to take advantage of it anyway (they'd need
to either make a copy of their puppet pems or set permissions
on them such that they could be read by the PuppetDB user).

We do still want the SSL pem library code, because Ken already
has another use for it relating to Postgres.  I also thought
it would be beneficial to leave this configuration code in the
commit history so that we can pull it back in if we do decide
we want to do so at some point in the future.
Change argument names (and other minor tweaks from pull request review)

I was using `f` as an argument name in several places in this code;
Nick pointed out that in clojure that will generally be assumed to
mean that the argument is a function, rather than a file (which is
what I'd intended).  All of those instances have been changed, and
I fixed another typo that was pointed out in the review.