Inhomogeneity in complex oxides : probing superconductivity and magnetism with scanning SQUID