Base Class constructor for easy class definition - supports getter/setter, inherit/extend Array Error or EventEmitter etc