Change CPack config for RPM and DEB packages

CPack will now check if "dpkg" is installed. If it is available it will
use some configs for DEB packages, if not, it will use configs to build
an RPM package.
Fixed debian architecture detection
Added downloadpage to be updated with CMake