Csv cmdlet fixes; Resolve escape character fixes

Resolving escaped characters didn't always work with the regexs that were used. This issue was
fixed and a proper test was added.

Fixed last issues with CSV commands