Fixed thread-safety issues with ElectronLikelihood

Fixed const correctness problems with object directly and indirectly
held by ElectronLikelihood. Then enforced that only const functions
of the direct and indirect objects are called from const member functions
of ElectronLikelihood. This guarantees thread-safety.