Port fluent-plugin-grep as out_grep

First step of https://github.com/fluent/fluentd/issues/250

I removed obsolete features and applying fluentd core format to codes.
Additionally, I created spec directory for newest plugins.
We have a plan to replace test framework with RSpec, so I think this is not a problem.

@sonots Could you check the code?