Convert Mix.ProjectStack from a GenServer to an Agent

#2336