added function to easily construct/ingest an object

There are also some new image assertions in there for JP2 and TIFF. These will be used in the solution packs that need them.