main: Use macro to reduce duplication among builtin prototypes

Just less code.
ostree.doap: Update description based on docs.
libostree: Extend gtk-doc coverage for refs and prune APIs