Safer creation of initial agents & events

Clarify when to map objects via Knockout (lest we double-wrap some annotation objects).

Also made some improvements to the logic for getting the initial highest ID for annotation objects, with allowance for nonstandard IDs like 'curation-annotation-agent' versus 'agent123'.