(PDB-247) Fixes the namespace override warnings from schema

Schema 0.2.0 has not yet been released, but has the fix for PDB-247. I
made a pre-release (0.2.0-pre-1) of the current state of the branch and
updated PuppetDB to use it.  Some PuppetDB code also needed to change as
one of the protocols is changing in 0.2.0.
Merge pull request #789 from senior/ticket/master/pdb-247-fix-schema-warnings

(PDB-247) Fixes the namespace override warnings from schema
Fix tk version string and test deps
Merge pull request #791 from cprice404/bug/master/fix-tk-test-dep-version

Fix tk version string and test deps
PDB-128: Support Oracle Java distribution.

On Debian it's possible to package releases from Oracle through
make-jpkg, a utility provided by the java-package package:
https://wiki.debian.org/JavaPackage

This commit adds support for:
 * Detecting Oracle Java 1.7 packaged RE or SDK
 * Satisfy the package requirement of Java by looking for the j2re1.7
   provides that the make-jpkg packages carry, both RE and SDK.

I've left out satisfying the dependency through j2re1.6 as @kbarber
and I agreed that we shouldn't promote the usage of Java 1.6 any
further.
PDB-279 Sanitize report imports

Previously we had a bug PDB-85 that caused our exports on 1.5.x to fail. This
has been fixed, but alas people are trying to import those broken dumps into
1.6.x and finding it doesn't work.

This patch sanitizes our imports by only using select keys from the reports
model and dropping everything else.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-303 Utilise final version of prismatic/schema 0.2.0

Previously we were using our own published version of a pre 0.2.0 release, this
patch remedies that to now point at the upstream finalized version.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-279 Remove extraneous brackets from functions in ->

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #795 from kbarber/ticket/1.6.x/PDB-303-utilise-final-version-of-schema-020

PDB-303 Utilise final version of prismatic/schema 0.2.0
Merge pull request #794 from kbarber/ticket/1.6.x/PDB-279-import_from_15_fails

PDB-279 Sanitize report imports
Update supported packages for distros

This page was way out of date, updated to reflect current reality.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-299 Release notes for 1.6.0-rc2 changes

This covers the release notes for 1.6.0-rc2 plus a mention for
prismatic schema as well.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #797 from kbarber/ticket/1.6.x/PDB-299-release_notes_for_rc2

PDB-299 Release notes for 1.6.0-rc2 changes
Merge branch '1.6.x'

* 1.6.x:
  PDB-299 Release notes for 1.6.0-rc2 changes
  PDB-279 Remove extraneous brackets from functions in ->
  PDB-303 Utilise final version of prismatic/schema 0.2.0
  PDB-279 Sanitize report imports
  (PDB-247) Fixes the namespace override warnings from schema

Conflicts:
	project.clj
	src/com/puppetlabs/puppetdb/cli/import.clj
PDB-307 Fix private method rspec failures due to mocha 1.0.0 upgrade

This patch fixes an rspec failure we were having on the terminus due to the
recent bump from mocha from 0.14.1 to 1.0.0.

Previously mocha seems to have been ignoring private method calls for whatever
reason. With the new version of mocha it is throwing exceptions (as it rightly
should).

This patch removes the use of the `private` declaration and converts all of
these methods to be document `@api private` in YARD instead migrating a
language enforcement to a documentation enforcement instead.

As an aside I noticed that char_encoding.rb had a 3 space indent convention,
this has been converted to 2 space as per our standard.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-307 Move jenkins rspec build script into version control

This patch moves the jenkins rspec build script into our git repository to
be called by jenkins instead of loading up the full script in the job itself.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #798 from kbarber/ticket/1.5.x/PDB-307-fix_private_method_rspec_failures

PDB-307 Fix private method rspec failures due to mocha 1.0.0 upgrade
PDB-307 Fix ruby-1.8.5 support for using bundler during rspec tests

Ruby 1.8.5 has some limitations in what it supports as far as gems go and
since we have been attempting as part of PDB-307 to use bundler more often
we have hit some problems.

* nokogiri, the version that beaker expects is not supported
* rake > 0.8.7 is also not supported

This patch removes beaker as a dependency while we run the rspec tests. This
will avoid pulling in lots of extra gems and hopefully speed up the whole
thing anyway. I've also applied this to the travis tests to hopefully speed
those up as well.

There is also now a conditional to change the dependencies for `rake` when
applied to a 1.8.5 ruby.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #799 from kbarber/ticket/1.5.x/PDB-307-fixes_for_ruby185

PDB-307 Fix ruby-1.8.5 support for using bundler during rspec tests
Fixes an issue with missing ruby-devel on EL5 (VirtualBox)