Bugs are keyed by a hash on the server

This simplifies code dealing with previously compound keys.
It easily allows single bugs to be retrieved directly.
It makes the 'resolved' documents smaller.

In the storage database view indexing is faster and smaller.

This is required to work with acra-storage PR #6