Direct Observation Of Extrasolar Planets And The Development Of The Gemini Planet Imager Integral Field Spectrograph