Fouling control in a gravity-driven membrane (GDM) bioreactor treating primary wastewater by using relaxation and/or air scouring