A revised catalogue of EGRET gamma-ray sources