Add support of lists of values in flag maps

--HG--
extra : rebase_source : a623f63f7063632bf8c417a4f76e8ab0233be408
Fix broken MSC exception handling flag

--HG--
extra : rebase_source : d03ec2013c90802ac61d85cbdbefaf3e126059df
Add remove() handlers for deprecated values