The Ground State Energy of Heavy Atoms: Leading and Subleading Asymptotics