[notify_close] add close notification
- create code to do this notification
- improve test on checking open event - it does now a checking with high
  level call (no more useless call to private method).
Merge pull request #4 from yammer/notify_close

[notify_close] add close notification