Add state to IR pioneer so that page reloads go to right controls

This commit backs out some changes of the previous commit. The server
should behave like before (with some minor changes to TiVo).