Move BlockTextMatch/FullTextMatch to cf-agent, as only useful there

Those functions set $(match) scope, which is only well-defined for
cf-agent (indeed, there is a check inside to only set it for
cf-agent). Hence any use of those functions outside of cf-agent
is a bug and has been eliminated.
Don't check for agent type, it's always cf-agent