Remove circular dependency between syncbase and exception packages.

Remove dependency of Exceptions class on Id class. This makes for a
cleaner design, but also makes it easier to build this code with
Blaze.

Also added Javadoc for public Exceptions methods.

Change-Id: I1451f13c178ee3614363c6c832a2f5ca9211388f
6 files changed