Jet Fragmentation in Vacuum and Medium with γ-hadron Correlations in PHENIX