Copy getters and setters from parent into child when extending

Fixes #3536. 
`__proto__` should not be relied upon before ES6. Why are you avoiding referencing `Object`?