Added DocumentRefField type for pulling a related document on demand.  Other changes that are backwards incompatible due to coucbase lib issues