The PIC's gonna determine what airport to land at, based on company regs, and the things you mention, like rwy length and what apparatus they have there.
jamall's right, this one was on its way to London. I don't know where it was when the emergency happened, but musta been close to BOS.