Fix issue with validator when disable_ssl = true

https://github.com/puppetlabs/puppetlabs-puppetdb/issues/106
Enable soft_write_failure setting when $puppetdb::disablessl = true

The puppet agent will refuse to run if it can’t make a secure
connection to the puppetdb server.  This setting disables that in case
SSL is disabled.
Support rspec-puppet v1.0.0

include_class has been replaced with contain_class.
http://bombasticmonkey.com/2013/12/05/rspec-puppet-1.0.0/
Pin rspec-puppet to 1.x releases

Since contain_class is only in 1.x or greater, we add an explicit pin in the
Gemfile for this.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #110 from kbarber/rspec_puppet_v1

Support rspec-puppet v1.0.0
Merge pull request #107 from ebarrere/ebFix_puppetdb_conn_validator

Fix puppetlabs#106 and one other bug when disable_ssl = true
Define parameter in puppetdb class to define postgres listen address
Merge pull request #112 from adrianlzt/feature/allow_define_postgres_listen_address

Define parameter in puppetdb class to define postgres listen address
Enable fast finish in Travis

http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
Merge pull request #113 from ghoneycutt/enable_travis_fast_finish

Enable fast finish in Travis
Convert tests to beaker.
Merge pull request #114 from apenney/beaker

Convert tests to beaker.
Use the /v2 metrics endpoint instead of /metrics

The base url /metrics has long been a deprecated URL and creates noise when
tested like this. Not to mention in current puppetdb master we are removing
/v1 support so this test starts to break.

By making it /v2, we still afford support for most of our 1.x users, and
since /v2 will be around for quite some time this seems like a suitable
temporary step.

In the future a generic URL should really be provided by PuppetDB as something
that is more permanent and generic.

Signed-off-by: Ken Barber <ken@bob.sh>
Fix up unit tests after /v2 changes

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #116 from kbarber/maint/master/use-v3-api-for-testing

Use the /v2 metrics endpoint instead of /metrics
Release 3.0.1

Includes CHANGELOG changes and release bump.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #117 from kbarber/maint/master/release_301

Release 3.0.1
Allow custom gemsource
Merge pull request #118 from hunner/dynamic_gemsource

Allow custom gemsource
Adding option to disable management of the firewall

Some users will manage the firewall externally from this module.