java/syncbase: Expose more on Id

Id is too restrictive currently; it doesn't allow access to the
name or blessing strings. This change exposes it more and also
allows for useful .equals and .hashCode comparisons.

Change-Id: I1cc1fb2367d0828736e6494376bd51172a30621c
2 files changed