move tag funcs to tags_plugin, fix problem with tags applied after the first blog page