Allow trailing commas in lists. Fixes #359
Merge pull request #385 from wonja/trailing_comma_list

Allow trailing commas in lists. Fixes #359