Change from reduce to inject for ruby 1.8.5 compat
Update documentation headers for 1.6.x

Signed-off-by: Ken Barber <ken@bob.sh>
Update version docs to include a bogus version string

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #783 from kbarber/ticket/1.6.x/update-doc-headers

Update documentation headers for 1.6.x
PDB-273 Fix stubs for HTTP tests to stub a higher level

There was a change to the internals of Puppet in commit 747076f00ce7c6b3b86acf2823be9c6536a821d4
which meant that the way that Net::HTTP was being used changed. In short it was
a change from using Net::HTTP.get to using the full object based methodology
with Net::HTTP::Get.new instead.

Unfortunately we had a stub around Net::HTTP.get which broke when this changed.

This patch corrects our use of that lower level stub, by instead stubbing
the http_get instance method on the subject. This fulfills the spirit of the
stub while also making sure we only rely on the stable and non-internal
http_get API only.

I've also tried to preserve the expectation inside the stub 'when' block to
preserve the spirit of that test as well.

This should also be backwards compatible with the 2.7.x and stable branches.

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

PDB-273 Fix stubs for HTTP tests to stub a higher level
Merge branch '1.5.x' into 1.6.x

* 1.5.x:
  PDB-273 Fix stubs for HTTP tests to stub a higher level
  Change from reduce to inject for ruby 1.8.5 compat
Merge branch '1.6.x'

* 1.6.x:
  PDB-273 Fix stubs for HTTP tests to stub a higher level
  Update version docs to include a bogus version string
  Update documentation headers for 1.6.x
  Change from reduce to inject for ruby 1.8.5 compat