Fix defined type and class parameters with default values.
Fix defined type and class parameters with default values.

If a default value is supplied to a defined type or class parameter, it was
being respected over the actually passed attribute.

A check was needed for the existence of the parameter when the parameter has a
default value.

peterhuene/puppetcpp