The XMM-newton wide field survey in the cosmos field: Redshift evolution of agn bias and subdominant role of mergers in triggering moderate-luminosity AGNs at redshifts up to 2.2