on_pause, on_resume callbacks

Add `on_pause`, `on_resume` callbacks and `was_paused` parameter to `on_play_done`.
This allows the application to detect a situation, when all subscribers
has paused playback and pause pushing data to nginx-rtmp.