es<5 support for util.inherits

This patch makes util.inherits() work in <es5. I ripped this code directly out of the [inherits](https://npmjs.org/package/inherits) module, which it might make sense to use directly instead of an inline inherits definition instead of this patch.