Support -PassThru option in Add-Type cmdlet.

Using -PassThru will return a System.Runtime object or an array of
these for the types that were added using Add-Type.