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

Hi @dragongears, can you fix the Travis error? It's complaining about this line, thanks!