Issue 11123 - std.getopt should support function callbacks.

http://d.puremagic.com/issues/show_bug.cgi?id=11123