make flags of a comand visible to its subcommands

@jbenet let me know how this looks! It works for the use case we have in ipfs, but it does prevent subcommands from having flags with the same name as their parent command. Tradeoffs..