std.getopt: Add character-separated elements support for arrays and associative arrays

I sure hope I got this right. I do love writing templates in D. :>

https://d.puremagic.com/issues/show_bug.cgi?id=5316