move code common to CLI utils to cmd/common
inventory: improve error message in case of partial read
inventory: support generation of wgrib2-style inventories
support some basic parsing an re-ordering via wgrib2
cmd/common: "common" means just aonuisync