It records all known events on IViewPart.

Known events are OPENED, HIDDEN, VISIBLE, CLOSED.

Related to issue karlitrotski/CodingSpectator/#32.
Pair programming with @cinai.