Nitrogen and aerobic treatment of slurry