Use utility function in Write-MergeEnvironment.
Change Set-MergeEnvironment.

Use string parameters.
Add -Verbose output.
Add Position declaration.

Add Position declaration to Set-MergeEnvironment parameters.
Add type accelerators to setUserEnvVar parameters.