BHV-5129: moon.Popup: Add onShown/onHidden events

Hi @dragongears, thanks for fixing the Travis error. It looks like the `onHiding` event fires even when animation is disabled - can we make an update so that this doesn't happen? Thanks!