Core-dominance parameter, black hole mass and jet-disc connection in Fermi blazars