add RegisterExtensionMethods.ps1

Not sure if that's the best name for the file, but it's not directly
user facing.