Rewritten plugins part 1

This includes all the plugins I've rewritten to use Perl, or to be multigraph-capable instead of wildcard. It does not include the declarative framework yet.