libs/web: improve cbi handling of Flag values, support usage of .default attribute...