(#7173) Add HTTP basic auth support to HTTP reporting in Puppet.

This is a second attempt at PR #1975.  Does the following:

 * Add logic in Puppet::Reports::Http to properly handle HTTP basic auth using the form http://username:password@host/path
 * Add a unit test to make sure HTTP basic auth is done if it is given in the url