Rework debian, rpm versioning

This commit sanifies the rpm versioning to be a little more tactful in its
removal of the trailing dot from a version. Second, this commit modifies the
debian version to address an issue where an rc tag resulted in a dash followed
by a dot in the version.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>