Tag class structure

The promised major update standardizing the inner workings and persistification of tag objects.  All current tags have been updated, and I will post instructions shortly for correct implementation of future ones.