Add Request.isActive() API. Also improve documentation to tell people what things cause it to become inactive. And fix a race where we were modifying the active list from outside the main thread without locking it. Change-Id: I9248e014126cb121612edbe595108ace753456e2