A Thermodynamic Based Gas Sensor for the Detection of Explosives and Explosive Precursors