Foden fires nervy Manchester City back on top