Fix inhertitance and allow single require

The original inhertitance was naive and it didn't allow for a single
require('extjs-custom') to get the entire library. That is fixed by
letting Ext.js requiring the rest before exporting itself. For class
extending Ext.extend is used.