Add Generator class and support code

Generator is intended to be the preferred way to encapsulate Func building in user pipelines. This pull request probably could use more documentation, but the overall design and set of tests is solid enough to begin serious discussion.
Yeah, I tend to agree; all other unexpected arguments fail hard at compile time. I'll make the change.