implement filter plugin
wrote test in https://github.com/fluent/fluentd/commit/4245eb6522990964f3ae505660dbd3c09498f576 style