Stocks closed sharply higher Thursday after EU leaders agreed on a final bailout package for Greece, in addition to an encouraging report on the Fed's mid-Atlantic manufacturing survey and some robust earnings reports. Microsoft finished slightly higher ahead of the tech giant's earnings report.