Extensive reworking of type information storage.
Use @type field for URI/CURIE list (per JSON-LD), and annal:type_id for local type identifier.
Redesign entity selector to work with this new regime.
All tests pass and custom list selectors now seem to work.