Fixed debian package build scripts.

Using ~dev prefix to bump above older ~bzr rc1 packages.
Using 1.0.timestampgitrev for releases.