These patches add the most useful vgs 'vg_attr' fields as lvm2app 'get' functions. The first patch adds the lvm2app functions, and the second patch is just cleanup for the lvm codebase.