Annotated JSON model format
Added failure checking to ResourceLoader.

And added rudimentary support in Xylem.
The ResourceLoader doesn't short circuit on a fail, the thought
being that the program might want to iterate the resourceMap to
decide whether to fail or continue. (Dubious.)