Use REST API to query server's "interest" in an error report

If the server announces a query URL in its discovery document, this
enables a REST-based remote history which takes precendence over the
problems.zip-based history.

To reduce network traffic, it caches HTTP requests in a Lucene index.

Bug: 508320
Change-Id: I98fd4e59f01820af6f7e27c44a487c735e55bae3
Signed-off-by: Andreas Sewe <andreas.sewe@codetrails.com>
16 files changed