Refactor common code into a generator

Each of these modules had the exact same code with one string changed.  This moves all of this code into a common generator, then refactors all of the transforms modules to use it.
@bryevdv regarding the `delegateEvents`, unless there's some code that I couldn't find that's invoking this and using the return value, the return value is irrelevant.  My assumption here was that `"pass"` (the original value, which was shared amongst all of these) was done to simply return something other than the main value.  Thus I switched it out to `null` rather than create a string.

That said, I believe this entire function could be removed as it just dispatches to the parent and adds an extra function to the call stack.