Update REST API to support Stopped, Idle and Offline states as well as
to support feed=continuous and feed=longpoll requests