fix a problem with publishing a "delete" replacement document.

schema was missing a few test cases for replacements indicating a "delete". added tests, which revealed some bugs in the schema, fixed, and add unit tests in publish and obtain.

Signed-off-by: Jim Klo <jim.klo@sri.com>
update map files to accommodate resource locator as an array.