Multi thread porting

Function storeBadEvents removed because it asks for the get and book of a ME in step1.
I would prefer if you could pass the ibooker and the igetter to the functions as you did for DQMStep1 instead of storing their pointers. the code as it is shouldn't give problems though.