[WIP] entity tags support, including REST API (but not GUI)

structure is about right but tests not yet passing.  for review only.
agree - it was in the file i copied.  have removed both.