tag.py: split .tag into .tag/.tags/.tagged, add automatic pagination