Fe-based superconductivity with Tc=31 K bordering an antiferromagnetic insulator in (Tl,K) FexSe2