Relanding Bug 834539 - Replace getPageTitle with an async API. r=mak. sr=gavin.