build/remote-install.sh: use --numeric-ids in rsync
build/policy-rc.d: add more intelligence to detect if we are called from a package scriptlet or outside
server/upload.py: add the config function to be used in configure scripts