Clean-up: port 'analysis' class to a role class.

eventlogging::analysis contained much that was vanadium-specific, and its
placement in modules/eventlogging is bizarre, given that there exists an
ipython module. I tidied it up and spun it into a role class.

Change-Id: I8bb114cba65ee998d677da919eab3c36868ebfd1