PAC-bayesian analysis of distribution dependent priors: Tighter risk bounds and stability analysis