violationsToList added, working and unit tested

Takes a string violations and converts that to a list.