Merge pull request #495 from fluent/add-register-api-to-parser-and-formatter

Add register_xxx API to parser and formatter plugins