Add sanity check to Refrence Object loader to prevent requesting of docu...

...ment with empty Id (latest version of RavenDb throws ArgumentNullException in this case).