Update Makefile
Add Close() method to the plugin interface
Change match syntax to regexp, drop Fluentd compatibility