Added logic for caching the initial streamAll() queries for finding all
the entities in a database. Also augmented the Transform classes so that
they can supply a string tag that identifies the tranform being
transformed.
Trying to work out how caching of transformations will work (also
adapting the caching code to use Optional<> so that we can distinguish
between entries not in the cache and entries encoding invalid
transforms)