migration from EDProducer to stream::EDProducer (BeamSpotOnlineProducer)

as reported by @fwyzard
https://docs.google.com/spreadsheets/d/1D9khDvOl05WEbznsUPCusEbrHeep9hh8cXedMXX09Gc/edit#gid=0
there are modules used @HLT which still need to be migrated and be multithread safe

this is the migration of the module BeamSpotOnlineProducer
why do we need boost:: type here.
It's also not good that the underlying parameter in python is a plain int, which can lead to surprises.
Please use the same type