(RE-1497) Remove quantal from build_defaults

This commit removes quantal from all build defaults because it is end of
life. It removes the defaults from the build_defaults yaml.
Merge pull request #997 from clantant/RE-1497/stable/srcs

(RE-1497) Remove quantal from build_defaults
(PDB-601) Do not require query operator on reports endpoint

With this pull request, hitting the reports endpoint without a query argument
will return the full reports collection.  This behavior is consistent with
that of the nodes, facts, and resources endpoints.
Merge pull request #999 from wkalt/tickets/master/pdb-601-optional-query-reports

(PDB-601) Do not require query operator on reports endpoint
(PDB-162) Add regexp support to resource parameter queries

The query engine supported this, but the existing "rewrite" rule, to go
from the shorthand parameter syntax to the nested resource query didn't
recognize ~. That is fixed with this commit, so regexps will now work on parameters.
(PDB-675) Stop pdb process even if pidfile missing

Prior to this commit, there were issues about the init.d script failling
silently if the PIDfile was missing. Although the fact that the PIDfile
was missing is a greater issue, this at least provides a workaround for
that. When trying to stop the puppetdb service with a missing PIDfile,
the stop would fail silently, assuming the process had already been
stopped because of the missing PIDfile. However, running `ps auwx | grep
puppetdb` would show that the process has in fact, not been stopped.
This change updated the init.d script to check if the PIDfile is
present before atttempting a stop. If it is, it uses that information to
stop the process as it always has. If it isn't, then it uses the
puppetdb user to stop the process. It is likely that this is too heavy a
hammer to user for this particular problem, but I think it should do
just what we need it do. We still specify --exec when searching for the
process that needs to be stopped, which should limit the possibility of
stopping a process we actually don't want to stop.
Merge pull request #1000 from senior/ticket/master/pdb-162-regexp-on-resource-params

(PDB-162) Add regexp support to resource parameter queries
(PDB-720) Fix services test with hard coded Jetty port

Fixed this issue by moving code that dynamically picks a free port out
of import-export-roundtrip and into a separate ns. I just switched the
services test to use that code and there should no longer be conflicts.
(maint) Restrict which process will be stopped

This is kind of an after-thought, but we figured since this file is
already being edited, this would be a good opportunity to add in this
additional failsafe. The idea is that no puppetdb process should be
started by anyone except the puppetdb user. If, for some reason, the
puppetdb process fails, or is stopped, but its PIDfile isn't removed,
there is the possibility that some other process can take its old PID.
In that case, stopping the puppetdb service would look at the PIDfile,
and stop the wrong process because it had taken on the old puppetdb PID.
Granted, this situation has a very small chance of occuring, especially
since we also limit what process will be stopped with the `--exec` flag.
However, it's nice to safeguard against the possibility anyway.
(maint) Add log entry for when process stopped without PIDfile
Merge pull request #1002 from senior/ticket/master/pdb-720-jetty-test-port-conflict

(PDB-720) Fix services test with hard coded Jetty port
Merge pull request #1001 from melissaanne/pdb-675/stable/missing-pidfile

(PDB-675) Stop pdb process even if pidfile missing
(PDB-728) Update release notes for 2.1.0
(PDB-729) Updated documentation indexes for PuppetDB 2.1
Merge pull request #1003 from senior/ticket/master/pdb-728-update-2-1-0-release-notes

(PDB-728) Update release notes for 2.1.0
Merge pull request #1004 from senior/ticket/master/pdb-729-update-documentation-indexes-for-2-1

(PDB-729) Updated documentation indexes for PuppetDB 2.1
Merge branch 'stable'

* stable:
  (maint) Add log entry for when process stopped without PIDfile
  (maint) Restrict which process will be stopped
  (PDB-675) Stop pdb process even if pidfile missing
  (RE-1497) Remove quantal from build_defaults
Updated the release notes for PDB-675
(PDB-47) Enable structured facts from facts terminus

This patch disables the stringify that we perform on outbound facts before
they are sent to the PuppetDB service.

To keep backwards compatibility, for now we are flattening these facts out
to strings before they are stored.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1005 from kbarber/ticket/master/pdb-49-unflatten-facts-from-terminus

(PDB-47) Enable structured facts from facts terminus