Allow puppetdb::master::config class to perform puppetdb conn validation without SSL.

Here is a fix for the Issue #98 that I created.  I added a unit test for the specific part that I was concerned about.  There was previously no config_spec.rb file so I created one.

Let me know if this is ok or if I am missing something completely and there is another way to achieve what I mentioned in Issue #98.