Add util/flagutil
chrome_ext: Add gen_package_json subcommand

gen_package_json can be used for generating package.json from existing
manifest.json. Dependencies can be added using -dep flag.