Changes to work with getDocumentUri, new in PojoRepository

This commit BREAKS compatibility with the EA-3 server.  
It updates the Java code to work with a new snapshot (already deployed) but doesn't do anything else interesting.

After this merges, we should expect to keep current with server HEAD