[DEB] Replace invalid characters with underscores

The previous replacement character, dashes, hold special significance in 
the Debian package spec.
[DEB] replace dashes (-) to tildes (~) in version

Dashes hold special significance in the Debian package versions. Versions
that contain a dash and should be considered an earlier version (e.g.
pre-releases) may actually be ordered as later (e.g. 12.0.0-rc.6 >
12.0.0). We'll work around this by replacing dashes with tildes.

Fixes #396
Merge pull request #401 from opscode/schisamo/prerelease-separator-fix

replace dashes (-) with tildes (~) in deb package version numbers