Bug 1049747: Ensure the history service is up before proceeding, in InsertVisitedURIs::Start() and History::GetPlacesInfo(). r=mak