Fix a deprecation warning with stdlib 4.6.0
Fix a deprecation warning with stdlib 4.6.0

stdlib 4.6.0 officially deprecates the 'type' function, as it is
a reserved word for Puppet 4.0, and replaces it with a new
'type3x' function. This PR inserts a conditional to test for the
existence of a 'type3x' function and uses that. Otherwise, it will
use the 'type' function.

This change maintains the listed compatibility with stdlib versions
greater than 4.0.0.

This does not create 'future' parser or Puppet 4.0 compatibility.

derjohn/puppet-gluster,purpleidea/puppet-gluster,pulecp/puppet-gluster,purpleidea/puppet-gluster,rdo-puppet-modules/puppet-gluster,pulecp/puppet-gluster,pdrakeweb/puppet-gluster,rdo-puppet-modules/puppet-gluster,derjohn/puppet-gluster,derjohn/puppet-gluster,pdrakeweb/puppet-gluster,pdrakeweb/puppet-gluster,purpleidea/puppet-gluster,rdo-puppet-modules/puppet-gluster,pulecp/puppet-gluster