Integrabilty of the BFKL dynamics and Pomeron trajectories in a thermostat