Light monitor

This is a small refactoring of the LightMonitor mechanism. The tests are running here: http://ci.openquake.org/job/zdevel_oq-engine/257/