CYB-89: Make sure that rpm and debian packages created for Cyb work is similar to what CDAP has

Change deb and rpm packages creating.
Then move it to a common place. It is confusing otherwise.