Add hashes to qualifier serilization output

- Adds new option for serilizing snaks with hashes
- Makes SnakSerilizer check for the option
- Makes claim serializer use said option
- Updates json.doc
- Expand Result builder test to test output
  with qualifiers
- Also fix ClaimSerializerTest

Bug: 50570
Change-Id: I3e00aa72bfd64434ecffd597cb6cad542d85a68c
Expand ResultBuilder testAddEntityRevision

Change-Id: If45b380f6c72d526fd3751f415e663d91aef4349
Include dataType id in API output.

Bug: 57213
Change-Id: I6eacf73e6b8f624116479894fd11059c74339ae2