Allow for pattern stanzas in source definitions

This patch adds support for pattern blocks. So one can use, e.g., https://github.com/repeatedly/fluent-plugin-multi-format-parser