[#154] Refactoring Ext.extend MODx.panel.Resource