ENYO-2254: replace alert with throw new Error
ENYO-2254: fixed undef test
ENYO-2254: added requestRemoveTab method (and corresponding event)