functions: Add code for specific generated package names

Debian packages have a unique behavior of being able to create multiple packages
per control file. Unfortunately, Jenkins and our build system (currently) have
no sane way of exporting this information. Thus, we must build this information
in to the Jenkins build scripts for now. Later, once we've migrated to a full
Jenkins build system, we can alter the build system and simplify this
significantly.

Change-Id: I2dd1b0faab5711fd1def73008318f51680cfeed0
35 files changed