Inheritance for denodeify

Set the `__proto__` on the denodeified function so that it inherits from the original function. I added a practical example why this is useful.