Initial Powershell implementation of generator library

This is a first cut of this library.
Implemented a generator generator.

Also extracted helper function to simplify the templates.
invoke-generator now has a -documentation parameter