reflection: avoid duplicate entries in packages

If the function override yields a value equal to the global value, then
we can conclude that we have no function override.
add some missing attributes from PKGBUILD(5)

This ignores checksums for now.
compare: distinguish between multi and single valued attrs