onHide callback option

Provides the possibility to do stuff whenever the suggestion-container is about to be hidden. It's basically the opposite to beforeRender, I needed it to implement some logic whenever the container is not visible.

Added tests and all, would be nice to see the option in the main repo. If you have any concerns, please let me know.