Add support for disabling proxying during test runs

This commit does the following:

* Cleans up some cruft in how puppetdb acceptance options were
  being handled.
* Allows any of the puppetdb-specific settings to be set via
  environment variables OR in the options file.
* Adds a new setting :puppetdb_validate_package_version which
  can be used to disable the package version checking (useful
  for local development).
* Adds a new setting :puppetdb_use_proxies which can be used
  to disable maven/apt/yum proxying (useful for folks working
  outside of the Portland office so that they aren't stuck
  proxying through the VPN).
Updating CHANGELOG.md for PuppetDB 0.10.0
Add packaging support for Fedora 17/ruby 1.9

This commit adds support for packaging for ruby
1.9. It modifies the @plibdir path based on the
ruby version. RUBY_VER can be passed in as an
environment variable, and if none is passed,
RUBY_VER defaults to the ruby on the local host
as reported by facter. As is currently the case,
we use the sitelibdir in ruby 1.8, and with this
commit use vendorlibdir for 1.9. Fedora 17 ships
with 1.9, so we use this to test for 1.9 in the
spec file. Fedora 17 also ships with open-jdk 1.7,
so this commit updates the Requires to 1.7 for
fedora 17.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Document the "deactivate node" command
Fix --debug flag and add HeapDump JVM option

This commit does the following:

* Change the services/parse-config function back to accepting an optional
  map of initial config values.  Because this function does lots of
  side-effect things, including initializing the logging, it needs
  access to some of the command-line options such as --debug in order
  to work properly.
* Change the name of services/parse-config to include an exclamation point,
  because it has lots of side effects.
* Add a couple of JVM args to our default jvm args; specifically,
  HeapDumpOnOutOfMemoryError and HeapDumpPath, so that we will have
  the opportunity to collect heap dump files from users if they
  encounter OOM errors.
Merge pull request #252 from nicklewis/document-deactivate-node

Document the "deactivate node" command
Merge pull request #253 from cprice-puppet/bug/master/fix-debug-flag-and-add-heap-dump

Fix --debug flag and add HeapDump JVM option
Remove debug statements and fix error message

This commit addresses feedback from the pull
request--had some errant debug statements
hanging around, and a bug in how I was
generating an error string.
Split out PE and ruby conditionals in redhat spec

This commit builds on the previous one by splitting
out the conditionals for PE and ruby 1.9 and ensuring
that we only call to /opt/puppet/bin when appropriate.
With this commit, the fedora 17 conditional is only
used to determine the open-jdk version.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #251 from MosesMendoza/maint/master/add_packaging_support_for_f17_ruby_1.9

Add packaging support for Fedora 17/ruby 1.9
Get rid of case statement
Add current version display to dashboard

This also adds the /version route, which will respond with JSON
{"version": <current-version>}.
Extract a helper function for ensuring HTTP clients accept json
Add a function and route for retrieving latest version

This will make an HTTP request, providing the application name and
version, and expects a JSON response of the following form:

{"version": <latest version>, "newer": <boolean>}

The "newer" value indicates whether or not the latest version is newer
than the current version.
Add a check for updates when starting services

This will log a message if a newer version is available. In the event
the update page can't be contacted, it will simply not log any message,
and continue running properly.
Add a visual display to dashboard if there is a newer version
Don't remove puppetdb user/group on RedHat systems

We never did this on Debian systems, and most other packages seem not to
as well. Also, removing the user and not all files owned by it can cause
problems if another service later usurps the user id.
Merge pull request #255 from nicklewis/user-removal-on-rpm

Don't remove puppetdb user/group on RedHat systems
Properly escape resource query strings

This fixes failures caused by storeconfigs queries that involve, for
example, resource titles whose names contain spaces.
Add an acceptance test for resource queries with spaces