Move bindEvents method to BaseButtons

Includes the addition of the getEventNames method.