Gravar-mail: Role of STDP and heterogeneity in the emergence of long-range temporal correlations and frequency scaling in networks of LIF neurons