WIP on tags: a few fixups in test code
WIP on tags: turn test code into real directive
WIP on tags: Use tag directives (CSS problems)

The directives work, but there are some problems with the overlays.
Still, it's worth a work-in-progress commit.