Add object key/ID validation. Centralize key generation/checking.
Document Zotero.DataObject. Minor tweaks.