Reference Types update

Code now handles ref / out parameters (which must be passed in as [ref]
types from PowerShell) properly, both for generic and nongeneric
argument types.