Add support for flags of type string

This PR should fix jingweno/gotask#10