packaging: setup: move postinstall to common

this will enable us to save the state after re-execution of setup for
any reason.

Change-Id: Ie9c67236ee02c5aa4d9bcb37c8e525f515aa9193
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>