Statistical physics of community ecology: a cavity solution to MacArthur's consumer resource model. (20th March 2018)