enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
Move some legacy code from "base" package to proper packages.