The Photon is only .8" wide, so it should be able to fit snugly, it not another .5" wouldn't hurt ;)
I'm not sure what's available to temperature sensors, I haven't worked with them before, but the two options are the Thermister (resistance-changing resistor based on the temperature), and a...