Added suport for excluding parameters in child errors.

Excluded properties on inherited errors did not work.

Refactored internal names to make it more clear what is going
on. Made sure the prototype chain is correct and that the
excluded properties are from parent errors are propagated to
errors that are inherits from a parent error.