OOjs: Use OO for class inheritance

Update extend() wrapper.
Update jshintrc file

Dependency:  I8cfd49f2fec4fb23bfcc5a707cf3f5742a3ed268
Change-Id: I3262d3bbe71b9b8e7dda5650727721db818c3ad4