Stop propagation of click events for onClickClose and the close button

I added a stopPropagation function to the noty object, and called it from the $bar click event and the $closeButton click event to stop the event propagating.