(maint) Update rpm spec to support systemd in el/fedora and suse
(maint) Update rpm spec and systemd service file for pidfile handling

Previously, the rpm package was creating /var/run/puppetdb at install time for
pidfile storage. This will break on modern Fedora/RHEL and SUSE systems as
/var/run (which is a symlink to /run) uses tmpfs and will not persist through a
reboot.

As the systemd service type is "simple", meaning non-forking, systemd
manages the process directly, and the PIDfile is not needed or used on
those platforms.
(maint) Update "sles-release" dependency to "distribution-release" virtual package

The "sles-release" package only exists SLES. distribution-release
is a virtual package that will install sles-release on SLES, or
OpenSUSE-release on OpenSUSE.
Merge pull request #1090 from senior/ticket/master/pdb-844-format-clj-code

(PDB-844) Formatted all clojure code with clojure-mode formatting
(PDB-813) Upgrade trapperkeeper, and move certificate-whitelist

This patch upgrades trapperkeeper, and the jetty component to the latest
revision. All lines of this patch are attributable to getting this to
work.

The major change was the change to certificate-whitelist, which is
not supported in trapperkeeper-webserver-jetty9 so we had to intercept
the configuration item, deprecate it and move it to a new [puppetdb] section
so we could do this work ourselves.

We avoid using [global] in this instance, since we have identified
a potential to clash if we want to bundle PDB with other clojure applications,
this is a general problem anyway - but our first move to try and reduce
this potential.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1072 from shrug/maint/master/systemd

(maint)(packaging) Updates to packaging for improved systemd support and PID dir handling
Merge pull request #1088 from kbarber/ticket/master/pdb-813-upgrade-trapperkeeper

(PDB-813) Upgrade trapperkeeper, and move certificate-whitelist
(PDB-900) Make performance improvements to fact_values GC process

Switched from a background thread to cleanup orphaned fact_values to one
that deletes as it goes. Switching to deferred constraints also
signficantly improved performance on PostgreSQL. The same facilities are
not available in HSQLDB, but I have alternate queries that work, though
will likely not be as fast.