Code to parse CSV-formatted strings (redmine feature #3272)