Updated CsvWriter interface to be more usable, fixed unit tests

Updated CsvWriter interface to determine type from the object.
Fixed unit tests dependent on culture.
Fixed tests to correspond to modifications.