Added close/hide flag on remove callbacks

Remove callbacks ('before_close' and 'after_close') can receive a flag to identify whether the notification was manually closed or hide by the timer.