add getparamdefault function

Stdlib currently has `getparam` function which returns parameter value for a resource. The `getparamdefault` function returns **default** value of resource's parameter, for example: 
```
Package { provider => aptitude }
package { 'apache2': provider => dpkg }
$p1 = getparam(Package['apache2'], provider) # -> dpkg
$p2 = getparamdefault(Package['apache2'], provider) # -> aptitude
```

It may be helpful when developing new classes and defined types, for example:

```
class apache_package {
  package { 'apache2': }
  if getparamdefault(Package['apache2'], provider) == 'dpkg' {
    Package['apache2'] {
      source => '/usr/packages/apache2_2.4.6-2.dpkg'
    }
  }
}
```