Fix to BJets + Some generic gen tools

The only important commit is the one to PatTools/python/patTupleProduction.py 

That one should be integrated with the master as soon as possible!

@tmrhombus, please have a look