Update QGLikelihoodDBWriter to read bins from file

CMSSW_7_3_X port from https://github.com/cms-sw/cmssw/pull/5447