Effect of disorder on the passage from bulk superconductivity to spin glass behaviour in RuSr2GdCu2O8