David Petraeus has admitted to close friend James Shelton that he “screwed up royally” over the affair with his biographer…