Added suport for excluding parameters in child errors.

Excluded properties on inherited errors did not work.

When rewriting the prototype chain in Constructor.define the
child scope was lost. This is fixed by restoring the original
friendly method on the prototype and recurse in the inherited
prototype chain in the friendly method.