What could be causing these oddities when replacing a power socket?
Sounds like there is indeed some sort of insulation problem along the line, causing both problems you describe. As Jodes said, call in a professional electrician to find the source of the problem before trying to fix anything.

When you have some sort of 'leakage electricity' while connecting the ground, it will trip the rcd (that's the very reason for having the rcds).